mirror of
https://github.com/patriciogonzalezvivo/thebookofshaders
synced 2024-11-08 01:10:27 +00:00
14 lines
224 B
Bash
Executable File
14 lines
224 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SHADER=$1
|
|
SEC=$1
|
|
|
|
COUNTER=0
|
|
for i in `seq -w 0.01 .031 $SEC`; do
|
|
echo $i
|
|
`glslViewer $SHADER -s $i -o frame-$COUNTER.png`
|
|
let COUNTER=COUNTER+1
|
|
done
|
|
|
|
convert -delay 3.5 -loop 1 frame-*.png animated.gif
|