Bubble Chamber
Today one of my friends sent me this image, mentioning that he'd like to try to simulate it, and knows that I've done similar things. He was looking for some tips, but he ended up getting a Processing sketch from me instead.
Source code: bubble_chamber
I spent about 35 minutes on this all together; I was challenging myself to create a reasonable approximation of the reference image as quickly and simply as possible. There are definitely details in the source image that are not captured in this version (such as the "concentric" trails around the center, the seeming alternating attraction and repulsion, etc.), but at a quick glance, the similarities are undeniable.
Experiment successful.
Reader Comments