blob: bab9ec63a15a52f7dc5b71e8a3063a4efa8a8eba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#! /usr/bin/fish
mkdir unit_gif ^/dev/null
cd unit_gif
rm *.ppm *.gif ^/dev/null
../unit_circle
for f in unit_circle_*
convert $f -annotate +75+120 (
echo "p =" (echo $f | grep -o "[0-9].[0-9]\{2\}" | head -n 1)
) $f
end
convert -delay 8 -loop 0 *.ppm circle.gif
convert -reverse circle.gif circle_reversed.gif
convert circle.gif circle_reversed.gif circle_cycle.gif
cd ..
|