demos

vector field

Flow Field

A lattice of segments easing toward a slowly drifting angle field. Nearby segments turn to aim at the cursor.

interaction

Hold to overrule the field. Segments within reach swing round to point straight at the cursor, hard enough to beat the drift underneath them, and ease back into it once you let go.

canvas 2d