Minetest-WorldEditAdditions/worldeditadditions/lib/noise/engines/init.lua
2021-07-12 02:45:32 +01:00

11 lines
424 B
Lua

local wea = worldeditadditions
return {
available = { "perlin", "sin", "white" },
Perlin = dofile(wea.modpath.."/lib/noise/engines/perlin.lua"),
Sin = dofile(wea.modpath.."/lib/noise/engines/sin.lua"),
White = dofile(wea.modpath.."/lib/noise/engines/white.lua")
-- TODO: Follow https://www.redblobgames.com/articles/noise/introduction.html and implement different colours of noise (*especially* red and pink noise)
}