Skip to content

IntegratedQuantum/VoronoiBiomeArt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I tried to make a biome map.

This algorithm works by choosing biomes at random and then using a simulation to make sure they are placed realistically(hot biomes are far from cold biomes, ocean/land biomes are clustered together).

This turned out to not work that well, but it makes some interesting images and the simulation process looks almost organic:

out.mp4

How to run

  1. Install zig and hope for the best. I have tested this with zig version 0.11.0-dev.3132+465272921 You may need to some changes when using a newer/older version of zig.

  2. Run it in release for your own sanity

zig build run -Doptimize=ReleaseFast
  1. Watch how the folder gets flooded with images. This is only for making the video and in itself is pretty slow. You can disable this behavior here.

  2. You can now turn the images into a video using ffmpeg:

ffmpeg -framerate 30 -i 'testBefore%d.png' -c:v libx264 -pix_fmt yuv420p out.mp4

About

A failed biome generator that ended up producing art.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published