logoalt Hacker News

Show HN: 2D Coulomb Gas Simulator

17 pointsby swesnowtoday at 7:17 PM4 commentsview on HN

A pretty simple but fun to play with simulator for a concept from mathematical physics called the "2D Coulomb gas". I originally made this for my Bachelor's thesis to create pretty pictures and build intuition but have recently gotten it a fresh coat of paint and better performance curtesy of WebGPU acceleration (ported with liberal help from Codex to get through all of the boilerplate).

Play around with it - hopefully read up more on the 2D Coulomb gas because it is an incredibly deep topic research wise.


Comments

bizzyskillettoday at 8:25 PM

Awesome! Beautiful work. Mesmerizing, even

zeitgeistcowboytoday at 8:56 PM

Warning: if you increase the steps per frame it will break your phone. At least with my iPhone and Safari it stalls the entire phone.

show 2 replies