Infinite Terrain
An endless procedural WebGL scene — streamed grass, trees, and wind lines with a physics ball you steer — that you can reskin live across six moods: night, aurora, synthwave, sakura, ember, noir. Restyled from mesq's MIT r3f original.
pick a mood below · WASD / arrow keys to roll the ball · space to jump
A restyle, not a rebuild
This is mesq's infinite-terrain (MIT), an r3f + three.js scene that streams chunks of procedural grass, trees, and wind lines around a rapier-physics ball you steer. The terrain rescales seamlessly at its border, so it never ends.
I kept the engine intact and turned its palette system into a mood switcher. The original swapped day/dark; I added six full presets, each carrying both colors and a lighting rig: night (moonlit slate + teal), aurora (polar green-cyan), synthwave (neon magenta + cyan), sakura (bright pink-blossom day), ember (volcanic dusk), and noir (moonlit grayscale). The shaders never change; recoloring the uniforms and lights recolors the whole world. Toggle the trees and stones too.
It's a heavy WebGL scene, so it renders client-side only and lazily. Full credit to mesq; I just kept repainting it.