Revisions
-
mikker revised this gist
Dec 22, 2014 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -20,6 +20,7 @@ DELAY=20 FAST=15 PAUSE=100 LONG_PAUSE=400 GIF_NAME=`basename "$FILE" | sed -E "s/\.[A-Za-z]+$//"`.gif convert -scale 600 "$FILE" f_000.$SUFFIX ; convert -quality 5% -gravity Center -scale 400 -extent 150% -modulate 100,0,100 f_000.$SUFFIX f_001.$SUFFIX; @@ -36,6 +37,6 @@ convert -loop 0 \ $COLORS -delay $DELAY f_004.$SUFFIX f_005.$SUFFIX \ $COLORS -delay $LONG_PAUSE f_004.$SUFFIX \ $COLORS -delay $DELAY f_003.$SUFFIX f_002.$SUFFIX \ "$GIF_NAME"; rm f_00*.$SUFFIX; -
mikker revised this gist
Dec 22, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -21,7 +21,7 @@ FAST=15 PAUSE=100 LONG_PAUSE=400 convert -scale 600 "$FILE" f_000.$SUFFIX ; convert -quality 5% -gravity Center -scale 400 -extent 150% -modulate 100,0,100 f_000.$SUFFIX f_001.$SUFFIX; convert -quality 10% -gravity Center -scale 450 -extent 133% -modulate 100,40,100 f_000.$SUFFIX f_002.$SUFFIX; convert -quality 20% -gravity Center -scale 500 -extent 120% -modulate 100,80,100 f_000.$SUFFIX f_003.$SUFFIX; -
ftrain revised this gist
Dec 21, 2014 . 1 changed file with 13 additions and 11 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,24 +16,26 @@ SUFFIX=jpg COLORS=32 FILE=$1 DELAY=20 FAST=15 PAUSE=100 LONG_PAUSE=400 convert -scale 600 $FILE f_000.$SUFFIX ; convert -quality 5% -gravity Center -scale 400 -extent 150% -modulate 100,0,100 f_000.$SUFFIX f_001.$SUFFIX; convert -quality 10% -gravity Center -scale 450 -extent 133% -modulate 100,40,100 f_000.$SUFFIX f_002.$SUFFIX; convert -quality 20% -gravity Center -scale 500 -extent 120% -modulate 100,80,100 f_000.$SUFFIX f_003.$SUFFIX; convert -modulate 100,200,100 f_000.$SUFFIX f_004.$SUFFIX; convert -quality 60% -modulate 100,80,150 f_000.$SUFFIX f_005.$SUFFIX; COLORS="-colors 16 +dither -posterize 16" convert -loop 0 \ $COLORS -delay $DELAY f_001.$SUFFIX f_002.$SUFFIX f_003.$SUFFIX \ $COLORS -delay $FAST f_004.$SUFFIX f_005.$SUFFIX f_004.$SUFFIX f_005.$SUFFIX \ $COLORS -delay $DELAY f_004.$SUFFIX f_005.$SUFFIX \ $COLORS -delay $LONG_PAUSE f_004.$SUFFIX \ $COLORS -delay $DELAY f_003.$SUFFIX f_002.$SUFFIX \ sample.gif; rm f_00*.$SUFFIX; -
ftrain revised this gist
Dec 21, 2014 . 1 changed file with 18 additions and 18 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -9,31 +9,31 @@ # # # Give it a filename to an image and it will turn it into zooming # garb. # # By Paul Ford in a moment of weakness SUFFIX=jpg COLORS=32 FILE=$1 DELAY=50 FAST=30 PAUSE=100 LONG_PAUSE=400 convert -scale 600 $FILE f_000.$SUFFIX ; convert -gravity Center -scale 400 -extent 150% -modulate 100,0,100 f_000.$SUFFIX f_001.$SUFFIX; convert -gravity Center -rotate -5% -scale 450 -extent 133% -modulate 100,40,100 f_000.$SUFFIX f_002.$SUFFIX; convert -gravity Center -rotate 2.5% -scale 500 -extent 120% -modulate 100,80,100 f_000.$SUFFIX f_003.$SUFFIX; convert -modulate 100,200,100 f_000.$SUFFIX f_004.$SUFFIX; convert -modulate 100,80,150 f_000.$SUFFIX f_005.$SUFFIX; convert -loop 0 \ -delay $DELAY f_001.$SUFFIX f_002.$SUFFIX f_003.$SUFFIX \ -delay $FAST f_004.$SUFFIX f_005.$SUFFIX f_004.$SUFFIX f_005.$SUFFIX \ -delay $DELAY f_004.$SUFFIX f_005.$SUFFIX \ -delay $LONG_PAUSE f_004.$SUFFIX \ -delay $DELAY f_003.$SUFFIX f_002.$SUFFIX \ sample.gif; rm f_00*.$SUFFIX; -
ftrain revised this gist
Dec 21, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ # # Give it a filename to an image and it will turn it into zooming # garb and save it as sample.gif. # Requires imagemagick. # By Paul Ford in a moment of weakness COLORS=32 -
ftrain created this gist
Dec 21, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,39 @@ #!/bin/bash # # _ _ __ # __ _ __ _ _ __| |__ (_)/ _|_ _ # / _` |/ _` | '__| '_ \| | |_| | | | #| (_| | (_| | | | |_) | | _| |_| | # \__, |\__,_|_| |_.__/|_|_| \__, | # |___/ |___/ # # # Give it a filename to an image and it will turn it into zooming # garb and save it as sample.gif. # # By Paul Ford in a moment of weakness COLORS=32 FILE=$1 DELAY=30 FAST=20 PAUSE=100 LONG_PAUSE=400 convert -scale 600 $FILE f_000.png ; convert -gravity Center -scale 400 -extent 150% -modulate 100,0,100 f_000.png f_001.png; convert -gravity Center -rotate -1% -scale 450 -extent 133% -modulate 100,30,100 f_000.png f_002.png; convert -gravity Center -rotate .5% -scale 500 -extent 120% -modulate 100,50,100 f_000.png f_003.png; convert -modulate 100,200,100 f_000.png f_004.png; convert -rotate .01% -modulate 100,50,105 f_000.png f_005.png; convert -colors $COLORS -loop 0 \ -delay $DELAY f_001.png f_002.png f_003.png \ -colors $COLORS -delay $PAUSE f_005.png \ -colors $COLORS -delay $FAST f_004.png f_005.png f_004.png f_005.png \ -colors $COLORS -delay $DELAY f_004.png f_005.png \ -colors $COLORS -delay $LONG_PAUSE f_004.png \ -colors $COLORS -delay $DELAY f_003.png f_002.png \ sample.gif; rm f_00*.png;