💾 Archived View for heavysquare.com › visuals › 0123.sh.txt captured on 2022-06-11 at 20:55:59.

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),(X+1)/(Y+1),100)':g='if(lt(Y-X,0),X/4,Y/5)',elbg=l=4:n=10:seed=${seed}"

STEP="split=2[a][b];
[a]vignette,hqx=4,crop=x=4:y=1000:h=800:w=800,hue=90,hflip,geq=g='g(X,Y)+r(Y,X)'[ax];
[b]geq=lum='lum(X,Y+200-X)':cb='255-cr(200+(200*sin(X+Y/2)),X-200)',vflip,geq=r='b(Y,X/2)+g(X,Y/2)',hue=90[bx];
[ax][bx]blend=xor,elbg=l=4:seed=${seed},hue=90:s=8"

FN=0123__${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