You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
FILE=$1
|
|
SEC=$2
|
|
|
|
COUNTER=0
|
|
for i in `seq -w 0.01 .031 $SEC`; do
|
|
echo $i
|
|
`glslViewer img-glitch.frag --u_tex $FILE -s $i -o frame-$COUNTER.png`
|
|
let COUNTER=COUNTER+1
|
|
done
|
|
|
|
convert -delay 3.5 -loop 1 frame-*.png animated.gif
|