Press the spacebar to start
Arrow keys nudge the platform. Click on the ball to apply a force. Spacebar to reset.
The platform is controlled by a neural network trained in Unity's ML-Agents reinforcement learning
platform. It will attempt to balance the ball. The network was then ported to Tensorflow.js.
This uses the Cannon.js physics library and rendering is done with Three.js