Logi-gif loads and displays gifs in Logisim. Uses Logisim and Python, as well as the OpenCV and ImageMagick library (installed with brew on Mac OS X). DISCLAIMER: Some gifs work better than others.
Before loading a new gif, do Command+R, and make sure the gif is in the same directory as the python scripts.
convert [gif-name].gif -coalesce [gif-name].gif
convert [gif-name].gif -colorspace Gray -resize 64x64\! [gif-name]_resized.gif
convert [gif-name]_resized.gif [gif-name]_resized_%d.png
Run python images64x64.py
Enter the gif name when it prompts you to do so. Make sure the gif is in the same directory as the code!
Take [gif-name]_1.txt [gif-name]_2.txt [gif-name]_3.txt [gif-name]_4.txt and load it into logisim-img-64x64.circ into the data 1, data 2, data 3, and data 4 RAMs (respectively).
Do Command+K to run the gif.
convert [gif-name].gif -coalesce [gif-name].gif
convert [gif-name].gif -colorspace Gray -resize 32x32\! [gif-name]_resized.gif
convert [gif-name]_resized.gif [gif-name]_resized_%d.png
Run python images32x32.py
Enter the gif name when it prompts you to do so. Make sure the gif is in the same directory as the code!
Take [gif-name].txt load it into logisim-img-32x32.circ into the data RAM.
Do Command+K to run the gif.