This is acceptable... 8-P
Pick 3 pts to start...
This is acceptable... 8-P
Pick 3 pts to start...
Make a landmass polygon. How do I want to do this? Well, the simplest polygon is a triangle, so we can can pick three points and make a triangle. We can then pick a 4th pt and look for the closest existing pt and the 2nd closest existing pt to splice the newest pt between (but I didn't get there tonight!).
Now plotted side by side. I should just keep modifying this, but I want to try someting else... 8-P
Pick a point to make the heart, which then flies apart!
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.
Make a heart shaped polygon with 29 points around a point picked by the user.
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.
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).
Midpoint displacement. I am using a pseudo random number generator instead of Math.random.
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.