Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
Printable mazes for young kids, with a QR code that draws the way through
EducationHTML · JavaScriptGitHub @tb-xOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A maker for printable mazes for young kids (around age 5). Each maze has a picture at the way in (a mouse, a bee, a rocket…) and what it's looking for at the way out (cheese, a flower, the moon…). The sheets have no words, so they work for kids who can't read yet, and they're made for a black-and-white printer. The answer is hidden in a QR code: scan it with a phone camera to watch a red line draw the way through.
Live at https://tb-x.github.io/maze-maker/
The QR code holds the whole maze in the link: its width and height, the entrance and exit columns, the pictures,
the number of stars, then every inner wall as one bit, 13 bits to each 4 digits, e.g. #8x8s3g4t4k3.0136211407….
The digits go into the QR code in its numeric mode, which packs them almost as tightly as raw bits. A big maze
still needs a bigger QR code, so it grows to keep every dot at least 0.4 mm (up to about 33 mm for Enormous).
Nothing is stored anywhere, so a printed sheet keeps working for as long as this page is online. The QR always
points at the published page on GitHub Pages, even when the maker runs on a local server.
It's a single index.html with no build step. Serve the folder and open it:
python -m http.server 5217
Then go to http://localhost:5217/. Opening index.html straight from disk works too. The QR codes are made
by qrcode-generator 1.4.4 (MIT), loaded from cdnjs.
After the first visit the page also works offline and can be added to a phone's Home Screen.
Named constants at the top of the script in index.html:
| Constant | Default | What it does |
|---|---|---|
DEFAULTS | Small, a mix, no stars, 1 a page, 1 page | Starting settings |
SIZES | 4, 6, 8, 11, 14, 18, 24, 30, 36 across | The sizes in the Size list, and their names |
STARS | 0, 2, 3, 5 | The choices under "Stars to pick up" |
SHEETS_MAX | 20 | Most pages printed at once |
GRID | 1, 2 (side by side), 4 (2 × 2) | How the mazes sit on a page |
MAX_CELL / MIN_CELL | 26 / 5 mm | Widest corridor, and the narrowest one allowed |
PIC_CELLS, PIC_MIN / PIC_MAX | 1.7 squares, 13 / 30 mm | Size of the start and goal pictures |
WALL | 0.1 | Wall thickness, as a share of a square |
NEWEST | 0.75 | 1 makes long winding corridors with few dead ends, 0 makes lots of short dead ends |
QR_SIZE | 24 / 22 / 19 mm | Smallest answer QR code with 1, 2 or 4 mazes a page |
QR_MODULE | 0.4 mm | Smallest QR dot: big mazes get a bigger QR code so a phone can still read it |
PUBLIC_URL | https://tb-x.github.io/maze-maker/ | Where the QR codes point |