猫の螺旋シェル芸

  concat

概要

concatコマンドを利用して、猫で螺旋を描きます。

シェル芸

t=convert
p=.png
concat cat | textimg -o a$p
$t -size 3775x400 xc:black b$p
d=0
for((i=10;i<400;i+=10));do
$t a$p -resize $ix$i c$p
d=$((i+d))
$t b$p c$p -gravity SouthEast -geometry +$d+0 -composite b$p
done
$t b$p -distort arc 360 images/b$p

出力結果

LEAVE A COMMENT