}
public void setup() {
size(1024, 576, OPENGL);
gfx = new ToxiclibsSupport(this);
physics = new VerletPhysics3D();
physics.setDrag(0.15f);
physics.setWorldBounds(new AABB(new Vec3D(), 250));
physics.addBehavior(new GravityBehavior3D(new Vec3D(0, 0.2f, 0)));
physics.addBehavior(new AttractionBehavior3D(new Vec3D(), 500, 0.1f));
for (int i = 0; i < NUM_PARTICLES; i++) {