summaryrefslogtreecommitdiff
path: root/run.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-08-09 13:26:13 +0200
committerPhilipp Gesang <pgesang@ix.urz.uni-heidelberg.de>2010-08-09 13:26:13 +0200
commit1092d5cc8e88b3fe88c9ac7678fdfd9c809935e8 (patch)
treec8cd7cd0a1a05fbed3745101c496b98b35442354 /run.lua
parenta65f1699d7ee665053491c5bd7c1d3e21a55c125 (diff)
downloadautomata-backgrounds-1092d5cc8e88b3fe88c9ac7678fdfd9c809935e8.tar.gz
optically pleasing drawing. refined positioning in background
Diffstat (limited to 'run.lua')
-rw-r--r--run.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/run.lua b/run.lua
index af54412..d8c18ad 100644
--- a/run.lua
+++ b/run.lua
@@ -97,9 +97,9 @@ function main ()
if life.debug then
gol.pre_frame(current.init)
end
- local many = gol.frames( current.init, current.rule, 55 )
+ local many = gol.frames( current.init, current.rule, 40 )
gol.pre_movie (many, true)
- --local lots = gol.frames( current.init, current.rule, 55 )
+ --local lots = gol.frames( current.init, current.rule, 200 )
--gol.pre_movie (lots, true)
else
io.write"\nCheck your input file for consistency, please.\n"
@@ -110,5 +110,7 @@ function main ()
return 0
end
---return main()
+if not context then
+ return main()
+end