Spaces:
Running
Running
Commit History
-
same but better
Verified signature23e86a2 -
a particle sim
Verified signatureParticles have x, y, phase, and value Phase range 0-2PI default to PI +- 5% Phase controls the degree of attraction/repulsion to other particles. 0 = very attracted to other particles, 2PI = very repulsed from other particles, PI = balanced (both attracted to and repulsed from) Particles influence the phases of other particles Particles influence each others phases by formula: (number oof particles * average particle phase) / average distance of particles But only if the other particle is between a global minimum and max distance Particles also have a value between 2-100 set when the sim starts. Particles have second-order attraction to - they stick to - other particles whose values share prime factors with theirs442408b -
initial commit
Verified signatureab893e8