Abhinav Shresth

p5.js

Particle Flow Field

Particles drift through a mutable force field that bends under your mouse.

Open fullscreen

About this sketch

This sketch visualizes a grid of force vectors that steer small particles across the canvas. Moving the mouse injects directional energy into the nearest cell, while left-dragging pulls a wider patch of the field into motion. Right-click to spawn more particles and watch their red trails reveal the changing flow.

Back to Hobby Lab