This applet was programmed by Karl Hörnell

http://www.javaonthebrain.com/java/rubik/

Twist or rotate by pointing and dragging in "natural" directions.Press s to scramble and r to restore (while positioning the mouse cursor somewhere in the applet region).