Created
April 18, 2016 22:08
-
-
Save indefinit/d5c381c7be5dc2cac14ab85a66ae5929 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var particles = []; | |
function draw(){ | |
for (var i = 0; i < particles.length; i++) { | |
//render your elipse with particle properties as x and y values | |
ellipse(particles[i].positionX, ...); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment