Tuesday, 30 October 2012

dance twist


With this algorithm the image is slightly distorted to make it seem like the character was dancing. This is done as the space bar is pressed, the music starts and the image distorted slightly in one direction and then goes back to normal, as it is set to twist a certain measurement.

This provided the illusing that the character is moving and twisting, a 'dance twist'.

This is a sequence and the steps happen one after another, so the image wouldn't twist again unless the algorritm is set to start again (unless someone presses the space bar again) thereby restarting the sequence.

No comments:

Post a Comment