Parameter tweaks.
This commit is contained in:
parent
98e741ab9e
commit
816c6e5772
6
main.lua
6
main.lua
@ -6,7 +6,7 @@ local DRAW_RES = love.window.toPixels(4)
|
||||
local SCALE = 100
|
||||
local font = lg.newFont(love.window.toPixels(24))
|
||||
|
||||
local decay = function(x) return .1^x end
|
||||
local decay = function(x) return .15^x end
|
||||
local function rng()
|
||||
local r = love.math.newRandomGenerator(1)
|
||||
return function() return r:random() end
|
||||
@ -16,8 +16,8 @@ local n1,g1 = Noise.make1d(makeAmps(8, decay), rng())
|
||||
local n2,g2 = Noise.make2d(makeAmps(9, decay), rng())
|
||||
local n3,g3 = Noise.make3d(makeAmps(11, decay), rng())
|
||||
local s1,s1g = Noise.make1dShader(makeAmps(9, decay), rng())
|
||||
local s2,s2g = Noise.make2dShader(makeAmps(13, decay), rng())
|
||||
local s3,s3g = Noise.make3dShader(makeAmps(17, decay), rng())
|
||||
local s2,s2g = Noise.make2dShader(makeAmps(15, decay), rng())
|
||||
local s3,s3g = Noise.make3dShader(makeAmps(19, decay), rng())
|
||||
|
||||
local cw,ch = W/2,H/3
|
||||
local canv = lg.newCanvas(cw,ch)
|
||||
|
Loading…
Reference in New Issue
Block a user