nick_animation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| nick_animation [2011/08/10 17:32] – created marcus | nick_animation [2011/08/10 21:48] (current) – marcus | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Animated Nick | + | == Animated Nick == |
| - | Specification: | + | ===Specification=== |
| - | * Each frame is a .lcd file. | + | |
| + | * All frames are concatenated and saved as " | ||
| + | * Each frame is shown with a fixed frame rate of 0.5s. | ||
| - | * All frames are concatenated and saved as "nick.lcd". | + | ===Notes on lcd files=== |
| - | * Each frame is shown with a fixed frame rate of 0.5s. | + | |
| + | * This means a square should be 77 pixel wide and 64 pixel high (for example). | ||
| - | Notes on lcd files: | + | ===Automatic conversion from animated gif=== |
| - | + | ||
| - | * Pixels are not quadratic, but rectangular with a 1.209 ratio (each pixel is 1.209 times higher than its width). | + | |
| - | + | ||
| - | * This means a square should be 77 pixel wide and 64 pixel high (for example). | + | |
| - | + | ||
| - | Automatic conversion from animated gif | + | |
| The " | The " | ||
| - | $ convert INPUTFILE.gif -background white +adjoin -resize | + | '' |
| + | |||
| + | (This is 96 x 82 and 96 x 68, not that weird multiplication character the wiki makes of it.) | ||
| For some reason these must then be flattened (does not work on one line) before converting to LCD format: | For some reason these must then be flattened (does not work on one line) before converting to LCD format: | ||
| - | $ for f in out-*.gif; convert $f -depth 1 -flatten f$f; ../ | + | '' |
| Now we can collect them: | Now we can collect them: | ||
| - | cat `ls fout-*.lcd |sort -n -t- -k2 ` > nick.lcd | + | '' |
| Copy nick.lcd to your r0ket badge. | Copy nick.lcd to your r0ket badge. | ||
| + | ===Sources for animations=== | ||
| + | |||
| + | * Stick man animations: http:// | ||
| + | * 4chan: http:// | ||
| + | * Geocities-Charme and other embarrassing shit: http:// | ||
| + | |||
| + | |||
| + | === Publish your animation === | ||
| + | You can publish your animation or image [[lcd_art|here]] | ||
nick_animation.1312990359.txt.gz · Last modified: by marcus
