Lib noise

Noise library.

https://github.com/icrawler/LoveNoise

Usage:

     -- Reference lovenoise.modules (optional)
     local modules = lovenoise.modules
    
     -- Creating a new Simplex module
     local simplexMod = modules.Simplex:new()
    
     -- Setting its properties (see doc)
     simplexMod:setFrequency(0.01)
     simplexMod:setSeed(math.random()*600)
    
     -- Creating a new RidgedMulti module with 4 octaves (with condensed property setters)
     local ridgedMod = modules.RidgedMulti:new(4):setFrequency(0.01):setSeed(math.random()*600)
    
     -- Creating a new Min module with the previous modules as its sources
     local minMod = modules.Min:new(ridgedMod, simplexMod)
    
     -- Getting a value at location [5, 6]
     local val = modules.Min:getValue(5, 6)


generated by LDoc 1.4.3 Last updated 2015-04-20 03:01:38