Skip to content

Commit

Permalink
Update particle-life.pde
Browse files Browse the repository at this point in the history
  • Loading branch information
jcponce committed Jul 11, 2024
1 parent c6c30c5 commit b7faf9c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sketches/particle-life/particle-life/particle-life.pde
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/**
* Inspired by Terry Soule's Programming Particle Life
* https://youtu.be/xiUpAeos168?feature=shared
*
* This version by Juan Carlos Ponce Campuzano
* 7/Jul/2024
* https://www.dynamicmath.xyz/sketches/particle-life
*
* There are different versions below, but I think the one
* I like the most is with PerspecticeCamera.
* TO-DO:
* - Clean the code :P
* - Make a 3D version
*/

int numTypes = 6;
int colorStep = 360 / numTypes;
int numParticles = 1200;
Expand Down

0 comments on commit b7faf9c

Please sign in to comment.