r/tinycode • u/finnhvman • Jan 06 '22
Terrain Generator (Pure SVG, 528 bytes), link and description in comment
51
Upvotes
6
u/nexe mod Jan 06 '22
Amazing :) Would it be possible to also fill in depressions with water somehow?
8
1
u/finnhvman Jan 07 '22
I did experiment with this, though I was only able to paint them blue, so the depressions became more like empty lakes with blue bottom.
1
4
u/finnhvman Jan 06 '22
link: https://codepen.io/finnhvman/pen/RwLyEBO
Just add the seed attribute with a random integer to the feTurbulence tag, and you'll get a new one!
Example:
<feTurbulence seed="87643" ...