Particle Simulator

No.12921896 ViewReplyOriginalReport
I wrote a little particle simulator because I was bored and the steady state looks like a Ritz cracker lmao

I'm not a programmer or physicist but what are some cool energy potential functions to plug into this thing? I was gonna try and add something like charge and have an additional force between charges only, just like In Real Life (tm)

The only energy potential I have now is of the form V(x) = -A * (x - m)^2 * ln(x) * exp(-x / r) which has some cool stuff depending on what coefficients I chose. Ritz cracker is A = 0.07, r = 25, m = 1