Recent content by CommanderLake

  1. C

    N-body random peak velocity of passing particles

    So there's no real solution to this? I thought some sort of interpolation might be the best way.
  2. C

    N-body random peak velocity of passing particles

    I understand that a smaller time step will increase the simulation accuracy, its not a physically accurate simulation its just for fun and self education, I'm using an arbitrary G constant to make a pleasing amount of particles move at a pleasing velocity with a reasonable framerate with vsync...
  3. C

    N-body random peak velocity of passing particles

    Actually step size makes no difference because the particles have no size and its a matter of the ratio between how far apart they are before and after they pass, if they are closer after they pass they slow down and vice versa, thanks anyway for your input.
  4. C

    N-body random peak velocity of passing particles

    I've been experimenting with my own N-body simulation and I've found a seemingly unsolvable problem. When 2 particles cross paths exactly the peak velocity varies according to how close they are at their closest point and they either fly off the screen or slow right down, I can add an offset to...
Back
Top