Last active
August 1, 2026 09:49
-
-
Save greggman/e7b6ae15975c440dd2b4089a920afc77 to your computer and use it in GitHub Desktop.
Diagonal Cells make Maze Like
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| color-scheme: light dark; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <pre> | |
| </pre> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const rows = []; | |
| for (let r = 0; r < 100; ++r) { | |
| const l = []; | |
| for (let c = 0; c < 80; ++c) { | |
| l.push(Math.random() >= 0.5 ? '╱' : '╲'); | |
| } | |
| rows.push(l.join('')); | |
| } | |
| document.querySelector('pre').textContent = rows.join('\n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"name":"Diagonal Cells make Maze Like","settings":{},"filenames":["index.html","index.css","index.js"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment