Tuesday, August 16, 2022

Playing with Atan2

17 April 2022- Math.atan2 and the Cross Product!

I want to play around with Math.atan2 and the cross product for a bit. I will start by making the size of my map div random and reset when you click the 'Resize' button. The size is measured in pixels which can be miles, kilometers, inches or parsecs...

379 pixels across
x0: 208, y0: 244, angle: 0.8648764080056549

No comments:

Post a Comment