/usr/share/gravit/spawn/negative-spiral.gravitspawn is in gravit-data 0.5.1+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | -- vim:syntax=lua tabstop=4
load("functions.lua")
function describe()
log("A spiral galaxy of positive and negative massed particles")
end
function spawn()
masses = randomfloat(10,1000);
makespiral(v(0,0,0), v(0,0,0), randomfloat(10,1000), -masses, masses, 0, spawnparticles)
end
|