GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

04A predator arrives — a flee vector splitting the flock

Treating the pointer as a predator and adding a strong flee vector inside a radius makes the flock split open and re-seal in a living ripple.

Best forInteractive heroes and pointer-reactive events

pointermovefillRectrequestAnimationFrame
A predator arrives — a flee vector splitting the flock
Open in a new tab

04 A predator arrives — a flee vector splitting the flock — Measured area 40.232% · moving frames 23/23Original by GODRICH · SCSS and React ship in the zip · 9 Canvas Boids Algorithm Flocking Birds Simulation

The post this demo lives in

9 Canvas Boids Algorithm Flocking Birds Simulation - preview of all 9 demos9 Canvas Boids Algorithm Flocking Birds SimulationA boids algorithm demo steers every agent with three local vectors, separation, alignment, cohesion, and that is enough See all demos in this post

If you like this effect - similar demos