2021-07-04 12:21:13 +00:00
local wea = worldeditadditions
return {
2021-08-07 21:30:10 +00:00
available = { " perlin " , " perlinmt " , " sin " , " white " , " red " , " infrared " } ,
2021-07-04 12:21:13 +00:00
Perlin = dofile ( wea.modpath .. " /lib/noise/engines/perlin.lua " ) ,
2021-08-07 21:30:10 +00:00
PerlinMT = dofile ( wea.modpath .. " /lib/noise/engines/perlinmt.lua " ) ,
2021-07-12 01:45:32 +00:00
Sin = dofile ( wea.modpath .. " /lib/noise/engines/sin.lua " ) ,
2021-07-12 23:15:23 +00:00
White = dofile ( wea.modpath .. " /lib/noise/engines/white.lua " ) ,
2021-07-12 23:54:52 +00:00
Red = dofile ( wea.modpath .. " /lib/noise/engines/red.lua " ) ,
Infrared = dofile ( wea.modpath .. " /lib/noise/engines/infrared.lua " )
2021-07-04 15:14:48 +00:00
-- TODO: Follow https://www.redblobgames.com/articles/noise/introduction.html and implement different colours of noise (*especially* red and pink noise)
2021-07-04 12:21:13 +00:00
}