https://jsxgraph.uni-bayreuth.de/showcase/moonwalk.html Also, Snell's Law example: https://jsxgraph.org/wiki/index.php?title=Snell%27s_law