Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Many particles: Sketch we've already done, but now its in processing
- //Declare my variables
- int totalP = 43;
- float [] x = new float[totalP];
- float [] y = new float[totalP];
- float [] noiseX = new float[totalP];
- float [] noiseY = new float[totalP];
- float [] varX = new float[totalP];
- void setup(){
- size(1980,1020);
- background(#ff4d4d);
- fillArrays();
- }
- void draw(){
- // Calculate positions
- showParticles();
- // Show the particle
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement