mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-25 12:55:02 +00:00
14 lines
735 B
Lua
14 lines
735 B
Lua
local wea = worldeditadditions
|
|
|
|
--- 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"),
|
|
White = dofile(wea.modpath.."/lib/noise/engines/white.lua"),
|
|
Red = dofile(wea.modpath.."/lib/noise/engines/red.lua"),
|
|
Infrared = dofile(wea.modpath.."/lib/noise/engines/infrared.lua")
|
|
-- TODO: Follow https://www.redblobgames.com/articles/noise/introduction.html and implement different colours of noise (*especially* red and pink noise)
|
|
}
|