PSystem ps; void setup() { size(400,400); ps = (PSystem)loadPlugin("PSystem"); Particle a = new Particle(width/2, 0, 0); ps.addParticle(a); } void loop() { background(255); fill(255, 0, 0); ps.draw(); }