I'm going to make something which this guy calls 'Lazy Flood Fill' although I like to call it 'guided' flood fill. The page needs to create a grid of divs based on the size of some world we want to simulate. A nice grid of longitude and latitude will do to begin, so the page will draw a map div 360 by 180 pixels, a degree per pixel, and we'll go with a cell 3 pixels on a side.
Input a seed, please (the default is tau, or 2 pi), or click the button for a random seed number.
Seed: 6.283185307179586, current pseudo-random # 0.6282746310002949
Tile: 6267, horizontal: 27, vertical: 104
No comments:
Post a Comment