summaryrefslogtreecommitdiffstats
path: root/klines/povray/makeballs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'klines/povray/makeballs.sh')
-rwxr-xr-xklines/povray/makeballs.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/klines/povray/makeballs.sh b/klines/povray/makeballs.sh
new file mode 100755
index 00000000..62769605
--- /dev/null
+++ b/klines/povray/makeballs.sh
@@ -0,0 +1,36 @@
+#! /bin/sh
+#### clean
+
+clean.sh
+
+#### render
+
+field.sh
+fire.sh
+balls.sh Red "rgb<1,0,0>"
+balls.sh Green "rgb<0,1,0>"
+balls.sh Blue "rgb<0,0,1>"
+balls.sh Yellow "rgb<1,1,0>"
+balls.sh Violet "rgb<1,0,1>"
+balls.sh Cyan "rgb<0,1,1>"
+balls.sh Brown "rgb<1/2,1/3,0>"
+
+#### montage balls ( 20x7 cells each 30x30)
+
+montage -geometry 570x30 -tile 1x10 bl_*.tga balls.tga
+mogrify -crop 570x210+0+0 balls.tga
+
+#### convert to jpeg
+
+convert -quality 95 balls.tga balls.jpg
+convert -quality 95 fire.tga fire.jpg
+convert -quality 95 field.tga field.jpg
+
+
+#### copy to data
+
+cp *jpg ../
+
+#### clean
+
+#clean.sh \ No newline at end of file