LEGO MINDSTORMS Robot Inventor
This gymnast swings back and forth on the apparatus by just moving its legs forward and backward. After a few swings it will start doing frontflips and backflips in an unpredictable pattern. Every run is different. The very simple program produces an amazingly complex and unpredictable motion, which is a fun example of "chaos theory".