Other stuff.
Bouncy balls on elastic strings
Blah
Blah
Rectangle hitTest in Flash Actionscript
I couldn't get Flash to do a hitTest correctly to register the collision of two rectangles. Since the rectangles were rotated Flash kept on using the enclosing rectangle defined by the extreme points instead of the image itself.
I don't know if there is a simple way around this problem but I wrote a nice and simple bit of mathematical code to sort it out...
A Flash simulation of a child's mobile. Drag the components and hook them together to make a mobile.
Depending on the weights you attach the mobile will move realistically to the correct position.
Hook and unhook the components to make your own!
Modelling elastic strings - Hooke's Law
I wanted to do this for ages.
It is a model of a set of pendulums moving under gravity and elastic forces which act in the strings connecting them.Uses Hooke's law to calculate the tensions, and then calculates the accelerations and velocities. Drag the boxes around and release to set the system in realistic motion.
A basic platform game I made.
Control the little robot person and jump around collecting the stars.
Avoid the spikes and use the springs to jump high. You have three lives.