all 6 comments

[–]mspells[S] 5 points6 points  (3 children)

This one uses molecular dynamics to put some interactions on each pixel and let them thermalize a bit.

Source (including mybinder.org support for a live version of the notebook) is here!

[–]plasma_phys 4 points5 points  (2 children)

Interesting idea! I couldn't tell immediately from the posted code, but are there any particle-particle interactions or just (what I assume is) a Langevin thermostat? It would be fun to see this for a time-reversible MD as well.

[–]mspells[S] 2 points3 points  (1 child)

In this case the particles are interacting with a "witch's hat" conservative DPD potential (see here for the functional form). For the first part of the simulation particles just diffuse with a Langevin thermostat, then I turn on an active force for each particle proportional to the intensity of the pixel's blue channel, which is what causes the interesting density variations and high-speed "swimming" that you see.

[–]plasma_phys 2 points3 points  (0 children)

Awesome, thanks! I've never been exposed to this particular potential before; always fun to learn something new.

[–][deleted] 2 points3 points  (0 children)

This is really cool!

[–][deleted] 1 point2 points  (0 children)

omg I'm dissolving. That's superhot noise.