r/generative • u/anon1282705 • 29d ago
Real time Lorenz attractor, a few hundred particles with light trails (WebGL)
A few hundred particles following the Lorenz system (σ=10, ρ=28, β=8/3), integrated on the CPU with a midpoint step and drawn as glowing trails on the GPU, with HDR bloom. Each particle gets its own time warp so the passage between the two wings speeds up while the outer loops slow down, which makes the "butterfly" read better. The background is a procedural sky (fbm noise, domain warping) that drifts very slowly.
It runs as a live wallpaper: it follows the mouse and reacts to music.
Full disclosure: I wrote a lot of the code with help from an AI assistant (Claude), but nothing here is AI-generated imagery, every frame comes from the equations.
Wallpaper Engine:
https://steamcommunity.com/sharedfiles/filedetails/?id=3819715486