samsta / FastLED-OpenGL

Provides a way to simulate addressable LEDs with OpenGL using FastLED
MIT License
1 stars 1 forks source link
fastled opengl

FastLED-OpenGL

Provides a way to simulate addressable LEDs with OpenGL using FastLED. This is a still from the animation created in triangle.cpp:

Screenshot of triangle example

This was used in GeoLEDic and I've broken it out into a separate repository, but very soon I realised that I couldn't bring up the time to keep it generic, and GeoLEDic diverged. I'm keeping this repo here in case it might be useful to someone else.

See the cmake workflow for an idea how to build it. Good luck!

Status: very early stage...

sudo apt-get install cmake libglfw3-dev libglew-dev libglm-dev

or on Mac (homewbrew required)

brew install cmake glfw glm

Keystrokes

Any keys that aren't handled are passed on to Config::KeyboardHandler if one was registered. Note that the keys are represented by uppercase characters always.

Mouse Control

Zoom in and out using the scroll wheel.

If full mouse control is enabled with Shift-M, the mouse cursor disappears and you can look around by moving the mouse