# Maze Generator Generates and draws a random maze in 1-bit (BW) mode on Soldered Inkplate 10. ## Overview Creates a new random maze on every boot and renders it to the e-paper display. A simple maze generation algorithm carves passages in a grid of cells, and the resulting connectivity is drawn as line segments between adjacent open cells. The maze is intended to be a printable/puzzle-style layout - you can solve it directly on the screen with an erasable marker or soft pencil. ## Hardware Required - Soldered Inkplate 10 - USB cable ## Setup Run `idf.py menuconfig` and navigate to: **Inkplate Boards → Inkplate10** ## Build and Flash ``` idf.py build idf.py -p PORT flash monitor ``` ## Expected Output A maze drawn in black lines with an entry and exit opening. Press reset (or power-cycle) the board to generate a new random maze. ## Notes - This example uses 1-bit (black & white) display mode. - This example performs a single full refresh and then stays idle. - `cellSize` controls maze density; a smaller `cellSize` increases detail but may increase generation and drawing time. It is kept at 20px (same as the Inkplate 6 example) because Inkplate 6 and Inkplate 10 panels have a similar pixel density, so the physical cell size on screen stays comparable while the larger 1200x825 panel naturally fits more cells (a 57x38 grid vs. 37x27 on Inkplate 6). - If writing on the panel, use only non-permanent tools (whiteboard marker, soft graphite). Avoid permanent markers to prevent staining. ## Resources - Docs: https://docs.soldered.com/inkplate - Support: https://forum.soldered.com/
To create a project from this example, run:
idf.py create-project-from-example "solderedelectronics/inkplate=1.2.0:inkplate10/projects/maze_generator"