Created
January 6, 2022 23:00
-
-
Save bitpaint/0618aace283e354505fa778ea4f8bfe5 to your computer and use it in GitHub Desktop.
Gource snapshots each year from ppm to png
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/sh | |
for (( i=1 ; ((i-5000)) ; i=(($i+365)) )) | |
do | |
today=`date +"%Y-%m-%d"` | |
stopday=`date -d -"$i"day +"%Y-%m-%d"` | |
echo $i | |
echo Current Date: ${today} | |
echo Stop Day: ${stopday} | |
echo " "; | |
echo "┌─┐┌─┐┬ ┬┬─┐┌─┐┌─┐"; | |
echo "│ ┬│ ││ │├┬┘│ ├┤ "; | |
echo "└─┘└─┘└─┘┴└─└─┘└─┘"; | |
echo "Welcome to Super Gource SnapShot Maker"; | |
echo " "; | |
echo " "; | |
gource \ | |
log.txt \ | |
--4960x3496 \ | |
--stop-at-end \ | |
--start-date "2000-01-01" \ | |
--stop-date "$stopday" \ | |
-r 25 \ | |
--seconds-per-day "0.0003" \ | |
--padding 1.1 \ | |
--bloom-intensity 0.5 \ | |
--hide "progress,mouse,date,filenames,usernames,users" \ | |
--highlight-dirs \ | |
--camera-mode overview \ | |
--user-font-size 15 \ | |
--dir-name-position 1 --dir-font-size 50 \ | |
--dir-name-depth 1 \ | |
-o $stopday | |
ffmpeg -i $stopday -vsync 0 -f image2 -update 1 $stopday.png | |
rm -r -f $stopday | |
echo "Done, motherfucker!" | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment