Constructs

noun : an abstract or general idea inferred or derived from specific instances [syn: concept, conception]; verb 1: make by combining materials and parts [syn: build, make]; verb 2: put together out of components or parts [syn: manufacture, fabricate]; verb 3: draw with suitable instruments and under specified conditions, of geometrical figures; verb 4: of past events [syn: reconstruct, retrace]

Portfolio

buoyancy

Another piece of code stuck in a drawer. Originally it was meant to be an exer­cise in col­li­sion detec­tion between falling par­ti­cles. Fake physics, shud­der. To make the inter­ac­tions inter­est­ing the par­ti­cles need to move at dif­fer­ent speeds, oth­er­wise they would just get stuck together. But the move­ment never felt right. Fooling around, I reversed the ver­ti­cal motion and some­how it works… I’d like to claim it was a con­scious deci­sion, but it wasn’t.

It’s amaz­ing how the col­li­sions sug­gest rota­tion. Try to fol­low a small bub­ble when it hits a larger one, can you see the larger bub­ble rotat­ing? The inter­ac­tions involved are decep­tively sim­ple, the bub­bles move slightly apart when over­lap­ping. Nothing else. Actually, the hard­est part was find­ing a name (and spelling it): buoyancy (click here for a ver­sion with­out OpenGL). Moving the mouse pops the bubbles.

buoyancy

Leave a Reply