This demo shows the use of the RSMotion library. The blue car drives to random destinations using the optimal path calculated by the Reeds-Shepp algorithm. Each time when the car reaches its destination, a new random destination is generated.
All simulation is done by a C++ program that uses the RSMotion C++ library. The C++ program is compiled to WebAssembly using EMScripten and the WebAssembly module is loaded in this web page. The visualization is done with javascript and WebGL.
Source code on Github: https://github.com/BasGeertsema/rsmotion