Trying to make sense of the energy parameters of a simple simulation. forceCollide tends to inject energy into the system, while velocityDecay() removes some.
So, when the density of dots is low, energy tends to decrease; if it's high, energy diverges. We add another force that speeds up slow particles and slows down the fastest…
Click to add a central barrier.
forked from Fil's block: Brownian Motion Constrained in Rectangle
forked from Fil's block: Boltzmann not ideal gas
forked from Fil's block: Boltzmann not ideal gas [UNLISTED]
forked from Fil's block: Vortex
forked from Fil's block: Animation - Circular Vortex Emergence
https://d3js.org/d3.v4.js