summaryrefslogtreecommitdiffstats
path: root/klines/povray/balls.sh
blob: 1897afaa6c23fdc54fb9980431d1a09b50cf5866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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