--[[ 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