All experiments

Physics & learned control

Learn to Dive

A pretrained motor policy balances flips, twists, and a clean entry. Change the board height and launch conditions, then inspect the dive.

JavaScript · Three.js · Policy optimization

View source on GitHub

Try it

All computation stays in your browser.

A diver rotating in flight above a pool, with a diving board beside the water.

Opening Learn to Dive

From the experiment

Captured from the working tool.

The learned motor program chooses rotation, tuck, and opening time for the current board height and launch conditions.
Pause at water contact to inspect entry angle and extension. The splash score is a simplified proxy, not a fluid simulation.

Source and documentation

The repository includes the implementation, reproducible examples, and tests.

Explore Learn to Dive on GitHub