Attraction-repulsion

A particle system with bipolar attractors.

View the Project on GitHub riebschlager/attraction-repulsion

Attraction/Repulsion

This is a generative art application developed in Processing and makes use of the ToxicLibs library. To begin, add attractors and repulsors to your sketch, then add particles and watch them get pushed and pulled around the canvas.

Keyboard Controls

S - Save your composition

P - Add particles, 50 per press

A - Add an attractor

R - Add a repulsor

Q - Clear all particles

SPACE - Clear all attractors and repulsors

C - Clear everything and start over.

Sample Images

Sample Image

Sample Image

Sample Image

Sample Image