digital-garden-anabasis/pages/tools.automorph_pixelsort.md

1.9 KiB

image morphing and pixel sorting

image morph

autoimagemorph

python autoimagemorph.py -inframes "['f0.jpg','f25.jpg','f50.jpg'`'f75.jpg','f100.jpg','f125.jpg','f150.jpg']" -outprefix f -framerate 25
python autoimagemorph.py -inframes "['f0.png','f50.png','f100.png','f150.png','f200.png','f250.png','f300.png','f350.png','f400.png','f450.png','f500.png','f550.png']" -outprefix f -framerate 50 -subpixel 4
python3 autoimagemorph.py -inframes "['f0.png','f50.png','f100.png','f150.png','f200.png']" -outprefix f -framerate 50 -subpixel 3

untested

not-working

pixelsort

pixelsort by satyarth

for image in .png ; do python3 -m pixelsort "$image" -i edges -t 0.9 -o "${image%.}_sorted.png" ; done

for image in .png ; do python3 -m pixelsort "$image" -i edges -t 0.9 -a 90 -o "${image%.}_sorted.png" ; done

saturation is way to go

Adjacent

untested

primitive

ffmpeg

  • ffmpeg -framerate 15 -i f%d.png f.gif

Adjacent