jlefkoff / GridBoard

a project to use an LED matrix for grid based games for the '21 Interactive art installations winterm
MIT License
0 stars 1 forks source link

Pi Emulator? #11

Open jlefkoff opened 3 years ago

jlefkoff commented 3 years ago

Look into the possibility of simulating a jumbotron offline using a virtual machine. I know that it is possible to spin a virtual raspbian install with emulated gpio, but this might be a pipe dream.

gsalaman commented 3 years ago

One of my pipe-dreams is similar...we'd write a library that encapsulates all of the graphics calls. If we're on the jumbotron, call the matrix stuff. If we're on PC or Mac, call underlying python graphics to a screen emulating the jumbotron. You could switch between the two by just changing your "import"...and that import is a shim layer between our high-level calls and either RGB matrix or screen graphics.