Created
January 11, 2020 17:13
-
-
Save Calinou/9075a6e6a777da2e9b23e780df6875a7 to your computer and use it in GitHub Desktop.
Generate a set of PNG frames that fade towards black
This file contains 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 | |
START=599 | |
for i in {600..700}; do | |
brightness="$((700-i))" | |
convert "$START.png" -modulate "$brightness%" "$i.png" & | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment