Inverted Electrostatics! Equal charges attract each other!

Опубликовано: 16 Июль 2026
на канале: Hali Hammer
892
28

Like in the video:    • Changed physics! What if equal charges att...   particels are interacting with a Lennard-Jones Potential and Coulumb forces.
The reason why the symmetry was previously vertical was due a piece of code that i used for a dynamic floor in the particel compression video. That barrier had an off-set of 0.1! So the floor was slighly higher than the other sides causing the vertical symmetry. Since the equation of motion is solved numerically, errors accumulate over time, leading to a visible loss of symmetry after a certain time.

00:00 20x20, 361 Particles
02:13 30x30, 841 Particles, Stronger Columb force
03:46 50x50, 2041 Particles, SMILEY
06:00 50x50, 2041 Particles
08:14 100x100, 9801Particles, Velocity
The last clip is a little teaser. More of that in this video:    • Satisfying Particles! Velocity Visualisati...  


This simulation was done in MATLAB. The code is available for free at MathWorks: (Coulomb-Force not yet indcluded) https://www.mathworks.com/matlabcentr...