Skip to content

Instantly share code, notes, and snippets.

@creationix
Created September 30, 2024 14:54
Show Gist options
  • Save creationix/6963f52b7b51232d8828dac6c9b3094f to your computer and use it in GitHub Desktop.
Save creationix/6963f52b7b51232d8828dac6c9b3094f to your computer and use it in GitHub Desktop.

Revisions

  1. creationix created this gist Sep 30, 2024.
    8 changes: 8 additions & 0 deletions braile.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    const start = 0x2800; // Braille pattern blank
    for (let i = 0; i < 16; i++) {
    let line = "";
    for (let j = 0; j < 16; j++) {
    line += String.fromCodePoint(start + i * 16 + j);
    }
    console.log(line);
    }