-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.lua
24 lines (20 loc) · 942 Bytes
/
globals.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
globals = {
activeDensity = 0,
-- Preview settings
doIsolateStep = false,
isolateStep = 1,
ppu = 1,
xOffset = 0,
yOffset = 0,
imageTransparency = 0.0,
-- evaluator settings
imageName = "data/monalisa.bmp",
evaluatorResolution = 500, -- side length of grid used by evaluator function
stringWidth = 0.5, -- diameter of the string in world units. functionally limited by evaluator resolution.
iterationsPerTemp = 100, -- number of new states to check before decreasing the temperature
initialTemp = 1.0,
volatility = 2, -- max number of strings that can be changed per iteration * `temperature`
shadeDetail = 0.8, -- 1-the opacity used for the wires in the evaluator. (by default 0.5 seems to work best, creates some nasty artifacts when set too high.)
totalEvaluationTime = 0,
justSaved = false -- true if nothing has changed since the last time we saved the state.
}