37946.3 px^2
The map div is 502.6 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 square root of the random area will give me a distance which I will use to create an initial triangle at two points some distance and angle from P0... which I will calculate the area for from the XYZ coordinates on the surface of a sphere. I will then 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...
42885.8 km in circumference.
Surface Area: 585.43 m. km^2
Random Area: 74.58 m. km^2, 8635 km or 50.6 pixels on a side
502.6 px across
Angle: 0.4337685834397325 radians
No comments:
Post a Comment