Skip to content

RocketLanterns/lightbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lantern's Lightbox

This is a bunch of (bad) code I've written for my 96x48 LED matrix project.

Lots of test scripts, repeated code, and experimentation, all leading up to the final product in the system directory.

You can use this stuff if you want, but there are a lot of hardcoded filepaths so it almost certainly wont work without modifications. You shouldn't be blindly running code from anonymous internet foxes anyway.

Tooling

The Matrix library used is rpi-rgb-led-matrix, python bindings, with additional typing stubs for the IDE to use to interface with the C bindings. These can be found in bin/rgbmatrix. (Yes I know thats not what "bin" means, but I also don't really care either.)

Most of the fonts used are also from this library, namely everything except for symbols.bdf, sideways.bdf and weather.bdf, which are generated by create_icons.py using bdflib. To see the symbols inside, ctrl+f "1" in your favourite with match highlighting enabled, then mentally flip all the symbols from top to bottom (as bdf fonts are defined from the bottom row up.)

As I use a specific device, and a lot of scripts that need to interface with it, the setup is done in rgbmatrix_utils, which also contains a symbols mapping for the symbols font. You're welcome to edit the settings that are used in the utils script to match your own device.

Icons and images

All the icons used in the various fonts generated by create_icons.py are generally made by me, though with size limitations, it's not unlikely they are similar or even identical to existing work.

The weather icons, gifs, and logographics for the menu and weather modules in system and squish_clock were designed all by me.

The 88x31 graphic is from this library. I didn't see it appropriate to commit my whole collection.

The cccat and ccfox mascot characters are ripped from CrossCode, via the spriters resource.

The world clock map png is a black and white map that I scaled down and cleaned up by hand over a few passes to get to a small resolution. Any geographical errors are my own.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors