Move your mouse: the currents part.
Animated backgrounds · naturellement vôtre
Strates
Four currents, in the colours of our four crafts, flowing and mingling. No video, no library: a few dozen lines of code, drawn live by the browser.
- The fieldA sum of sine waves gives every point on the screen a current direction that slowly shifts.
- The wakeEach point follows the field and keeps a trace of its last positions: a stroke of wind.
- The springThe mouse pushes the points away; a damped spring brings them back into the current.
- RestraintPaused when off screen, still for anyone who has asked for reduced motion.
// every frame, for every point a = sin(x·k₁ + t) + sin(y·k₂ − x·k₃ + t) // the current v += repel(mouse) // the parting v += (rest − position) · 0.08 // the spring v *= 0.82 // the damping
Marseille seen from above
A staircase
The city fades away; a man in a hurry.
A step
A figure runs.
Leaving
A suitcase, a rail, a cast shadow.
Side by side
Two paths that only brush past each other.
Each to their own course
Two attitudes, the same suit.
Climbing
The steps count out time.
The currents
Passers-by draw flows without knowing it.
Photographs: Valérie Texier
hover over the images
The film
