And here it is in simple 3D https://github.com/EkBass/BazzBasic/discussions/9
I tried version 0.7b and this program. Nice.
There is coming several helper functions in 0.8 which makes this kind of math like 10 to 20 times faster.