Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 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 |