💾 Archived View for heavysquare.com › visuals › 0126.sh.txt captured on 2022-01-08 at 14:10:37.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

for seed in $(seq -w 1 1)
do
INIT="color=black:size=800x800,geq=r='if(lt(exp(sin(X/20)+cos(X/33)),1),255,100)':g='if(lt(Y-X,0),255,0)'"

STEP="vignette,hqx=2,split=4[a][b][c][d];
[a]crop=x=0:y=0:w=iw/2:h=ih/2[ax];
[b]crop=x=800:y=0:w=iw/2:h=ih/2,vflip,hflip,avgblur[bx];
[c]crop=x=0:y=800:w=iw/2:h=ih/2[cx];
[d]crop=x=800:y=800:w=iw/2:h=ih/2,hflip[dx];
[ax][bx]blend=xor,elbg=l=5:seed=1[ab];
[cx][dx]blend=xor,elbg=l=5:seed=1,hue=90[cd];
[ab][cd]blend=difference,hue=60:b=2:s=8,elbg=l=4:seed=${seed}"

FN=0126__${seed}__

ffmpeg -f lavfi -i "$INIT" -vframes 1 -y ${FN}01.jpg
for prev act in $(seq -w 1 25 | sed p | sed 1d | sed '$d')
do
  ffmpeg -f lavfi -i "movie=${FN}$prev.jpg,${STEP}" -vframes 1 -y ${FN}$act.jpg
done

ffmpeg -i ${FN}%02d.jpg -vf 'scale=h=ih/5:w=iw/5,tile=5x5' -y ${FN}t.jpg
ffmpeg -i ${FN}t.jpg -i ${FN}25.jpg -filter_complex "hstack=inputs=2" -y ${FN}_.jpg

cp ${FN}t.jpg ${FN}t-${seed}.jpg
done