Thursday, August 18, 2022

So lazy...

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

35204.5 px^2

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...

389 pixels across
x0: 174, y0: 181, angle: 0.8051139182824727
The triangle area is 35204.5 px^2

No comments:

Post a Comment