Created
October 28, 2019 15:03
-
-
Save blackhalt/abd3a742449d7bcde67f5de4d212d592 to your computer and use it in GitHub Desktop.
random_gif.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
convert -size 512x512 xc: +noise Random random.png | |
name="$(date +%s)" | |
for i in `seq 0 10 359`; do | |
j=`expr $i \* 5` | |
convert random.png -channel G \ | |
-function Sinusoid 1,${i} \ | |
-virtual-pixel tile -blur 0x40 -auto-level \ | |
-function Sinusoid 13,${j} \ | |
-separate +channel miff:- | |
done | | |
convert miff:- -set delay 10 -loop 0 ${name}.gif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment