Minetest-WorldEditAdditions/worldeditadditions/lib/noise/engines/init.lua
Starbeamrainbowlabs 03038689e2
Add infrared noise
2021-07-13 00:54:52 +01:00

13 lines
569 B
Lua

local wea = worldeditadditions
return {
available = { "perlin", "sin", "white", "red", "infrared" },
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"),
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)
}