Recent content by funkpun

  1. F

    Gravity Simulation: Consistent Rotation Pattern?

    It's not the random seed -- randomize is working correcly. There's also no bias in the way the sheet is constructed: for (int i = 0; i <= bodies.length-1; i++) { bodies[i] = new Objects(random(w), random(h),random(0, 50), random(0,200)); } create a particle w. random x,y and z...
  2. F

    Gravity Simulation: Consistent Rotation Pattern?

    "If you seed the random number generator with the same seed each time then it will give exactly the same results each time. Try seeding with a different number." I'm *not* using a seed. It's randomizing properly. Fp
  3. F

    Gravity Simulation: Consistent Rotation Pattern?

    Hi all. I've been playing around with a simple gravity simulator I wrote in Processing. I have a version that impliments a second degree modified Euler integration scheme on particles in three dimensions. Attached is a screen strip of screen captures showing the first few moments of the...
Back
Top