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

15 lines
735 B
Lua
Raw Normal View History

local wea = worldeditadditions
2023-08-02 01:14:48 +02:00
--- Noise generation algorithm engines.
-- @namespace worldeditadditions.noise.engines
return {
available = { "perlin", "perlinmt", "sin", "white", "red", "infrared" },
Perlin = dofile(wea.modpath.."/lib/noise/engines/perlin.lua"),
PerlinMT = dofile(wea.modpath.."/lib/noise/engines/perlinmt.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"),
2021-07-13 01:54:52 +02:00
Red = dofile(wea.modpath.."/lib/noise/engines/red.lua"),
Infrared = dofile(wea.modpath.."/lib/noise/engines/infrared.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)
}