A simple robot


The scene contains a robot mechanism.

Try clicking on each part of the robot to see how that part moves when clicked. Check that if you right click or shift click on each part it will move in the opposite way.

Now click on a part of the robot and hold the mouse button down. You will see that after a second or so, the part will start to move on its own until you release the button.

Try drawing with the robot. It's quite tricky. Work out which type of patterns the robot is best suited to draw.

Run the demo then see if you can make the robot trace out the same curve.

view Java source code