summaryrefslogtreecommitdiffstats
path: root/klines/povray/balls.sh
diff options
context:
space:
mode:
Diffstat (limited to 'klines/povray/balls.sh')
-rwxr-xr-xklines/povray/balls.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/klines/povray/balls.sh b/klines/povray/balls.sh
new file mode 100755
index 00000000..1897afaa
--- /dev/null
+++ b/klines/povray/balls.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+echo "#declare BallColor = $2" >clr.inc
+#### jumping balls
+povray -w30 -h30 -V1 -P +A +KI10 +KF11 +KFF10 -Iball.pov +Oa$1.tga
+#### borning balls
+povray -w30 -h30 -V1 -P +A +KI5 +KF6 +KFF6 +SF2 +EF5 -Iball.pov +Ob$1.tga
+#### burning balls balls
+povray -w30 -h30 -V1 -P +A +KI0 +KF1 +KFF11 +SF1 +EF5 -Iball.pov +Oe$1.tga
+
+montage -geometry 30x30 -tile 100x1 -page 570x30 a$1??.tga b$1?.tga e$1??.tga bl_$1.tga
+mogrify -crop 570x30+0+0 bl_$1.tga
+
+