Pick a point to make the heart, which then flies apart!
Monday, February 15, 2021
Sunday, February 14, 2021
Heart Breaker!
I made a bigger heart shaped polygon with 156 points around a point picked by the user. The initial heart is more or less centered but please pick another point in the box. The page connects two points on my heart polygon and a line zigzags across to break the heart in two.
Saturday, February 13, 2021
Heart Shape!
Make a heart shaped polygon with 29 points around a point picked by the user.
Thursday, February 11, 2021
Procedural Rivers
Each cell in the grid is a drainage area, filling with precipitation and inflow from neighboring drainage cells and draining by outflow. I need to draw impassable barriers, inflow and outflow.
Tuesday, February 9, 2021
The Corners Fold To The Far Point
Significant artifacts, but the corners match up, which I could prove by folding them together. I want to display near and far hemispheres side by side, but the unfolded square makes for a decent shorthand, if you will (the seed is hard-coded, BTW, so we always get the same worldmap).
Sunday, February 7, 2021
I finally got some terrain generated...
Midpoint displacement. I am using a pseudo random number generator instead of Math.random.
Friday, February 5, 2021
Diamond Square...
First I need to get a seed and make a Pseudo Random Number. Now I need to make a nice grid and apply the diamond square... But I'm doing something wrong. Gotta figure this out tonight.