-- vim:syntax=lua tabstop=4 load("constants.lua") scripts = { "plummer", "one-galaxy", "binary-galaxy", "merging-galaxies", "many-galaxy", "snake", "loops", "dust", "clouds", "negative-collision", "negative-sphere", "negative-spiral", "negative-surround", "surround" } math.randomseed(os.time()) r = math.random(1, #scripts) logName(scripts[r]) file = scripts[r] .. ".gravitspawn" -- log(file) spawn = nil load(file)