9914 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: 1744485811932 ms since first internet millisecond! 8-P
This gives me a repeatable version of JS' random # 0.9790297944152968
x0: 213, y0: 400, z0: 46
x1: 163, y1: 343, z1: 33
x2: 0, y2: 277, z2: 255
polygon(213px 400px, 163px 343px, 0px 277px)
Cross Product is cx: -13512, cy: 13219, cz: -5991, triangle area: 9914 px^2
No comments:
Post a Comment