Remember the first time you learned Win32 programming? I thought I’d post a couple of old demos I made during my first encounter with Win32 many, many, years ago.
The above image is from the demo called Elasticity. Drag the square and then let it go. The square will snap back to the origin as if it were attached to an elastic band.
The next image is from the demo called Swarm. It tries to mimic a swarm of fruit flies chasing your cursor.
I cleaned up the source just enough so that it would run. You can download the source for Elasticity and Swarm here.