| English | 日本語 |

maze is a walk-through sample with first-person movement, collision resolution, a view-locked spot light, Compute Effects, and a radar display. The maze is generated at runtime.
main.js builds a seeded 15×15-cell DFS maze and assembles floors, walls, the ceiling, doorway side jambs, and top lintels from Primitive.cuboid(). It does not load a fixed ModelAsset.
The maze has one floor. The corridor grid width is 2.5m, wall thickness and ceiling thickness are 0.1m, the ceiling underside is 3.0m above the floor, the player base is at y = 0.0, and EyeRig.eyeHeight = 1.6m. Because wall thickness is counted inside the corridor module, the clear walking width is about 2.4m.
Floor colors are split into normal corridor, room, start area, and goal area. After the maze is carved, several 2 x 2 cell or larger rooms are stamped over it, their inner walls are removed, and room entrances are created with width 2.0m and height 2.4m. The top lintel height is 0.55m, leaving a 0.05m gap below the 3.0m ceiling underside.
The radar uses the same heading-up method as walk_around and draws nearby collision segments on a 2D canvas in the top-right corner. The doorway lintel stays above the player collision cylinder, so it does not appear as a blocking segment and it does not show up on the radar. The side jambs remain collision targets.
./maze.htmlW / A / S / D buttons/, to open the command paletteWebgApp: initialization, draw loop, HelpPanel, HUD, FrameTimerShape / Primitive.cuboid(): procedural construction of floors, walls, ceiling, doorway jambs, and lintelsEyeRig: first-person movement, view rotation, and run inputCommandPalette: compact controls for Compute Effects and spot light settingsComputeEffectPipeline: SSAO, Shadow, SSR, Toon, DoF, Bloom, and Edge renderingFullscreenPass: copies the final effect result to the canvasCollisionWorld / WalkCollisionBuilder: extracts collision segments from procedural wall cuboids and resolves player movementcanvas: overlays the heading-up radar from the current collision segmentsW / S: move forward / backwardA / D: turn left / rightShift: run5 / 6: decrease / increase Toon levels in the range 2 to 80: reset to position [-2.5600, 0.0, 6.0572], eye height 1.60m, and yaw -29.91°K: save a screenshot/: open or close the command palette[-2.5600, 0.0, 6.0572], the same row, column, and relative in-cell position as maze2, with yaw -29.91°W / A / S / D behave as first-person controls, not orbit camera controlsMAP shows the current forward direction upward and nearby collision segments as white linesmaze.html: demo pagemain.js: maze generation, first-person movement, Compute Effects, and radarCollisionWorld.js: XZ-plane collision world for the player cylinderWalkCollisionBuilder.js: helper that extracts collision segments from wall shapesREADME.md: Japanese guideREADME.en.md: English guide