For the animation see
https://youtu.be/woyswK03KhI
and
https://youtu.be/5vmxRNm91i8
For the animation see https://youtu.be/vLTeW4AxYmM
This was plotted in C++ using olcPixelGameEngine. This is a single header file that enables us to draw graphics in C++. This is created by javidx9 (OneLoneCoder). please download it from his repo https://github.com/OneLoneCoder/olcPixelGameEngine
also see
https://youtu.be/1MtEUErz7Gg