Picking points within the initial circular div to build out
an arc of triangular tiles.
If the order in counter clockwise and the cross product is
negative, rearrange the order with the pts.splice. Splice the
last point to index one and delete that point, pts[2] becomes
p[1] and p[1] becomes p[2]!
World Map is coming... I'm going to work on
this
tomorrow.
But I'm still using code from
this.
Just click in the sinusoidal shape to place landmass...
Seed: 1744550455103 ms since first internet millisecond! 8-P
This gives me a repeatable version of JS' random # 0.3151491810567677
I'm using the cross product to detect winding, clockwise or counter, lime or pink! 8-P
No comments:
Post a Comment