Minetest-WorldEditAdditions/worldeditadditions/lib/noise/engines/init.lua

12 lines
489 B
Lua
Raw Normal View History

local wea = worldeditadditions
return {
2021-07-13 01:15:23 +02:00
available = { "perlin", "sin", "white", "red" },
Perlin = dofile(wea.modpath.."/lib/noise/engines/perlin.lua"),
Sin = dofile(wea.modpath.."/lib/noise/engines/sin.lua"),
2021-07-13 01:15:23 +02:00
White = dofile(wea.modpath.."/lib/noise/engines/white.lua"),
Red = dofile(wea.modpath.."/lib/noise/engines/red.lua")
2021-07-04 17:14:48 +02:00
-- TODO: Follow https://www.redblobgames.com/articles/noise/introduction.html and implement different colours of noise (*especially* red and pink noise)
}