10435 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: 1744849530395 ms since first internet millisecond! 8-P
This gives me a repeatable version of JS' random # 0.8818018914249706
x0: 42, y0: 187, z0: -78
x1: 191, y1: 173, z1: -32
x2: 147, y2: 126, z2: -173
polygon(302px 447px, 451px 433px, 407px 386px)
Cross Product is cx: 4136, cy: 18985, cz: -7619, triangle area: 10435 px^2
259
No comments:
Post a Comment