The Laughing Cow
3
   
Award
Favorite
Favorited
Unfavorite
Download
"This is my new avatar. Obviously a reference to Ghost in the Shell's Laughing man :)

-- Or how to make one's profile page 4MB bigger :P

Created with inkscape & imagemagick; I used the rotate transform to animate the text, and wrote a quick script to do the dirty job. Of course, it can be improved *a lot* (calculating frame timings, etc automatically, for example, or removing some unneccessary cruft), but I don't want to spend to much time on this. I also let various commands that could be useful to know or to play around with if you are into gifs.

SIZE=512 frames=360 looptime=10 infile=laughing-cow-v1.svg outdir=framesInks mkdir -p $outdir rm log.txt for i in $(seq 1 $frames) do echo processing $i trueInfile=trueInfile.svg sed "s/rotate(0 0 0)/rotate($i 0 0)/" $infile > $trueInfile outfile=$(printf $outdir/%03d.png $i) inkscape -z -e $outfile -w $SIZE -h $SIZE $trueInfile 2>&1 >>log.txt #convert -background none -size 512x512 $trueInfile $outfile done #inkscape -z -e test2.png -w $SIZE -h $SIZE laughing-cow-v1.svg files=$(ls $outdir/*.png | sort -n) #files=$(seq -f $outdir/%03g.png 1 3 360) echo processing $files #convert -delay 1x12 -layers OptimizeTransparency -loop 0 ${files
  • } animation-skip5.gif
    convert -delay 1x36 -layers OptimizeTransparency -loop 0 ${files
  • } animation-512.gif

Edit: wow, Steam breaks the layout inside of the code tags because of a [ * ] that's present in the script (without spaces). I will report this."
1 Comments
The Laughing Cow  [author] Jul 17, 2017 @ 6:39am 
MP4 format (a lot lighter, but no transparency): http://imgur.com/a/lHVUA