Processing, ellipse not following alpha values?
问题 class Particle{ PVector velocity, location; //PVector variables for each particle. Particle(){ //Constructor - random location and speed for each particle. velocity = new PVector(random(-0.5,0.5), random(-0.5,0.5)); location = new PVector(random(0,width),random(0,width)); } void update() { location.add(velocity); } //Motion method. void edge() { //Wraparound case for particles. if (location.x > width) {location.x = 0;} else if (location.x < 0) {location.x = width;} if (location.y > height)