I am looking for a way to plot spheres, arrows (vectors), points and curves in 3D using JavaScript. Ideally the generated plot should be capable to be rotated, zoomed, paned and tilted by the user. Furthermore, I would like to create animations (e.g., an arrow that rotates around an axis). I feel a little lost how to start.
Here is an example of what I have in mind:
![JavaScript plotting vectors, curves and points in 3D with animation [closed]](https://file.115kc.com/storage/eg/image489.jpg)