Advertisement
lexgilmore

Untitled

Nov 15th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Many particles: Sketch we've already done, but now its in processing
  2. //Declare my variables
  3. int totalP = 43;
  4. float [] x = new float[totalP];
  5. float [] y = new float[totalP];
  6. float [] noiseX = new float[totalP];
  7. float [] noiseY = new float[totalP];
  8. float [] varX = new float[totalP];
  9.  
  10. void setup(){
  11.   size(1980,1020);
  12.   background(#ff4d4d);
  13.   fillArrays();
  14. }
  15.  
  16. void draw(){
  17.  
  18.   // Calculate positions
  19.   showParticles();
  20.   // Show the particle
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement