import pitaru.sonia_v2_9.*; Particle[] particles; int numParticles = 60; boolean lines = false; int w = 900; int h = 800; void setup(){ size(w, h); background(255); Sonia.start(this); LiveInput.start(); particles = new Particle[numParticles]; for(int i=0;i .09 || spect > 1)){ particles[i].move(meterData); particles[i].render(spect); } else if(meterData < .8){ // background(255); fill(255, 25); rect(-2, -2, width, height); } } } void mousePressed(){ background(255); } public void stop(){ Sonia.stop(); super.stop(); }