Friday, July 28, 2023

Text in map div

23 July 2023- Initial Z Negative Triangle
7778 px^2

I want to make an initial triangle in the Z negative hemisphere of my world so that I can add triangles on around to the 'front' of my world...
I need a seed, in this case derived from milliseconds since time began in 1970, or at least as far as Javascript is concerned.
(I will want to add an input to get seeds from the user)

Seed: 1744724084308 ms since first internet millisecond! 8-P
This gives me a repeatable version of JS' random # 0.600192258982247
x0: 477, y0: 344, z0: 146
x1: 369, y1: 433, z1: 100
x2: 202, y2: 436, z2: 77
polygon(477px 344px, 369px 433px, 202px 436px)
Cross Product is cx: -1909, cy: 5198, cz: 14539, triangle area: 7778 px^2

No comments:

Post a Comment