Skip to content

Frame displays moving images on a 16 by 16 led display

License

Notifications You must be signed in to change notification settings

martijncasteel/frame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frame

Frame is a small led-matrix controller build for raspberry pi zero. Frame uses a custom file format, with colors for every pixel. I used a small converter script to create .frame files from gifs. I wouldn't have gotten far without pygif of Robert Ancell and the explanation of Christophe Tronche.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. A step by step series of examples that tell you how to get a development env running.

Start by checking out the simulator branch!

Create frame files

I thought it would be fun to create a own file format and it is but maybe not so convenient. Creating files can be done by converting gifs using the following command.

# setting up environment
python3 -m venv env
source env/bin/activate

# install dependencies
pip install pygif

python parse.py /path/to/file.gif

Run the program on a Raspberry PI

The goal is to run this code on a raspberry pi with a 16 by 16 rgb led grid. To be able to do so we need some additional steps

# setting up environment
python3 -m venv env
source env/bin/activate

# install dependencies
pip install -r requirements.txt

# run the program with frame.service or use
python -m frame /directory/to/frame-files

Contributing

Please read the contributing guidelines for details on our code of conduct, and the process for submitting pull requests to us. We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Frame displays moving images on a 16 by 16 led display

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages