Sunday, June 5, 2022

Going with triangle fan...

1 June 2022- Trying my world div thing again...

Back at the stereographic projection again. I'm going to stuff the world div with a triangle mesh. The world div instantiates at 520px square, but I will change the size based on the random circumference of my world. The center of the map is the 'north' pole, or the sunward pole of a tidally locked world, and the antipodes, the 'south' pole or nightside lies at the perimeter of the world circle...
I need to have a way of keeping track of my world div perimeter points and updating the world div. The initial triangle fan is the same, right now, and I'm writing a book here... This stuff needs to be in comments with my code!!!

World circumference is 46110.3 km and world div size is 462px, 676.77 m. km^2

polygon(60.5% 64.9%, 49.4% 68.5%, 39.4% 64.5%, 30.9% 59%, 28.3% 46.5%, 31.8% 35.9%, 41.3% 30.3%, 55.8% 35.7%, 63.2% 46.1%, 50% 50%)

No comments:

Post a Comment