Lightfantastic
led mapping using ws2812 led strips and a raspberry pi. The leds transmit encoded data, which is decoded from video to determine the leds position and id number.
Install / Use
/learn @anfractuosity/LightfantasticREADME
lightfantastic
Display patterns on randomly arranged WS2812B lighting strips
-
lightfantastic-calibrate - This command is used to pulse out an ID bit pattern for each of your WS2812 LEDs. You will need to record a video of these LEDs.
-
lightfantastic-process - This command is used to process the video of the LED's calibration pattern
How it works
See https://www.anfractuosity.com/projects/tree-lighting/ for information on the calibration process and playing simple 'videos' on the lights.
See https://www.anfractuosity.com/projects/painting-a-christmas-tree/ for information on the simple webapp to 'paint a tree'.
Installation of libraries on your Pi
-
Install the following library https://github.com/jgarff/rpi_ws281x
-
sudo apt-get install python3-opencv
-
sudo apt-get install python3-numpy
-
pip3 install . --user
Use
To generate the calibration pattern on the LEDs:
- lightfantastic-calibrate
To generate a pickled file containing the position of your LEDs, you can run:
- lightfantastic-process --movie lights.MOV --out lights.p
To Do
-
Add webapp code, to paint the LEDs
-
Add code to display simple video on LEDs
Commercial alternatives
- https://twinkly.com/ - seems to use a mobile phone for calibration, not sure what LEDs they use
Related Skills
qqbot-channel
349.2kQQ 频道管理技能。查询频道列表、子频道、成员、发帖、公告、日程等操作。使用 qqbot_channel_api 工具代理 QQ 开放平台 HTTP 接口,自动处理 Token 鉴权。当用户需要查看频道、管理子频道、查询成员、发布帖子/公告/日程时使用。
docs-writer
100.3k`docs-writer` skill instructions As an expert technical writer and editor for the Gemini CLI project, you produce accurate, clear, and consistent documentation. When asked to write, edit, or revie
model-usage
349.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
arscontexta
3.0kClaude Code plugin that generates individualized knowledge systems from conversation. You describe how you think and work, have a conversation and get a complete second brain as markdown files you own.
