Minetest-WorldEditAdditions/worldeditadditions/lib/erode/snowballs.lua

10 lines
253 B
Lua
Raw Normal View History

--[[
2D erosion algorithm based on snowballs
Note that this *mutates* the given heightmap.
@source https://jobtalle.com/simulating_hydraulic_erosion.html
]]--
function worldeditadditions.erode.snowballs(heightmap, heightmap_size, erosion_params)
end