Viewing a saved revision (read-only)
Q6YqjUlwFN_Wc7KD_pnyq
SVG pinwheel of overlapping colored circles that adapts to light and dark themes, starting from the Overlapping Circles Claude artifact.
Pinwheel Road
A canvas-based open-world driving toy: hills, roads, water and a changing time of day, with pinwheels to collect. Drive with arrow keys / WASD (Up/W accelerates, Down/S brakes and reverses), or let autopilot take the wheel. On touch, hold the left or right side to steer, hold the bottom to brake.
Structure
index.html– entry point and HUD markupindex.js– main loop wiring update and renderview.js– shared screen geometry and resizecamera.js– chase camera and world-to-screen projectionconfig.js– world, camera and vehicle constantsutil.js– small math helpersheightfield.js– procedural terrain and waterroads.js– infinite procedural road gridworld.js– pinwheel placement and biome labelssky.js– day/night cycle and sky renderingterrain.js– voxel-space terrain renderersprites.js– pinwheel sprites with occlusionparticles.js– pickup effectsinput.js– keyboard and touch inputplayer.js– vehicle physics and autopilothud.js– HUD updates