Skip to content

derblub/pixelpi

 
 

Repository files navigation

pixelpi

Games and Animations on 16x16 LEDs

16x16 LED matrix

This is a collection of python scripts that run animations and games on a 16x16 matrix of WS2812B LEDs (aka Neopixel, if from Adafruit). The project is inspired by and compatible to Jeremy Williams' Game Frame.

more pictures by @marian42_

LED strips

I recommend you use this tutorial to set up the LED hardware. Make sure you install rpi_ws281x as explained in the tutorial.

expected LED strip layout:

-> -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->
<- <- <- <- <- <- <- <- <- <- <- <- <- <- <- <-
-> -> -> -> -> -> -> -> -> -> -> -> -> -> -> ->
...

If you have a different setup, you can edit the Screen.py file to translate the 16x16 matrix on your LED strip.

Software

To set up the software, clone this repository on your Raspberry Pi. Rename the file config.ini.example to config.ini. Make sure, the neopixel library is installed. This project uses Python 2.7.

Animations

Place your animations in a folder called animations in the repository. For each animation, a file /animations/animation_name/0.bmp should exist.

Here are the Eboy animations and a forum for fan-made Game Frame animations.

About

Games and Animations on 16x16 LEDs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.7%
  • JavaScript 3.1%
  • HTML 1.8%
  • CSS 1.6%
  • Other 0.8%