Sunday, August 21, 2022

628.3 pixels across

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

The map div is 628.3 pixels across. The world diameter and surface area are random and so is the size of some random area which I will have the page define with some triangles. The area will let me estimate a triangle base and height which I will approximate longitude, latitude and then XYZ coordinates on the sufrace of a sphere. I will get the 'real' area of each triangle using the cross product and make new triangles off of some edge of the triangle mesh which represents that random area until we have a sum of the triangle areas greater than or equal to the random area...

No comments:

Post a Comment