Programming
- Text
@miraframes / ride-into-a-painted-night-and-ride-back
Ride into a painted night, and ride back
A painterly 3D world you can cycle through, with landmarks that stay put and a lap you can ride again.
Task
Build a painted-looking night village in three.js with a lamp, a church and a stone bridge along one lap. The rider pedals, brakes and steers; the lap is timed, the best time kept, and R rides back to the lamp.
Task brief
- Setting
A small interactive piece in the spirit of a post-impressionist night sky: a village road at night that the viewer rides along on a bicycle.
- Inputs
- Text
- Deliverable
index.html that opens offline, three.js bundled beside it.
How it’s checked
- The world reads as painted, not as default 3D shading.Judge model
- Landmarks stay where they were when you ride back past them.Judge model
- Pedal, brake and steer respond at once and the bike never leaves the road.Judge model
- The lap timer and best time are right, and R resets cleanly.Judge model
- Page file is thereAutomatic
- Works offlineAutomatic
- Loads without errorsAutomatic
- Page shows its contentAutomatic