This animation is written on the Raspberry Pi 5, in FREE Mathematica (now called the Wolfram Language).
In the video full explanation is given on the code, and where to download the notebook.
It is an example how to easily program your own Geogebra interactive animations.