This simulation visualises the Lorenz attractor, a classic chaotic system where tiny parameter shifts can produce dramatically different trajectories over time.
Lorenz Attractor Visualiser
Interactive chaotic-system visualisation based on the Lorenz attractor with real-time coefficient modulation.
OVERVIEW
A real-time visualisation of the Lorenz attractor where tiny parameter shifts create large behavioural changes. The experience highlights deterministic chaos, long-lived trails, and theme-aware colour mapping in a bounded portfolio component.
ARCHITECTURE
The renderer integrates a pure Lorenz step function with iterative trail simulation inside a client-only canvas runtime. Pointer input maps to `sigma` and `rho`, time drives controlled pulses, and adaptive quality reduces iteration pressure under sustained low-frame conditions.
FUNCTIONALITY
- Pure Lorenz step integration (`dx/dy/dz`) with tunable `sigma`, `rho`, `beta`, and `dt`
- Real-time pointer-to-coefficient mapping for immediate chaotic response
- Time-driven attractor pulsing for continuous ambient motion
- Adaptive quality controls that scale iterations under frame pressure
- Theme-reactive colour palette with smooth value-based interpolation
- Visibility-aware rendering pause and reduced-motion compliance
HOW IT WORKS
On mount, the component seeds multiple Lorenz trajectories and advances each path through iterative time steps per frame. Input and elapsed time perturb core coefficients before projection to canvas coordinates, producing evolving chaotic loops. A fade pass preserves trails while avoiding unbounded pixel accumulation.
OUTCOMES
- Adds a second mathematically distinct interactive demo without creating backend complexity
- Demonstrates practical understanding of deterministic chaos and numerical simulation
- Improves portfolio depth by separating flow-field and attractor systems into dedicated project narratives