nowfound

Life & fun · December 24, 2016

PA

Painting a Christmas Tree's LED Lights

Painting a Christmas Tree's LED Lights launched on December 24, 2016 with 54 votes, #1,293 of 3,449 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 9 years on.

In plain words

This project enables interactive control of WS2812B LED lights on a Christmas tree through a web interface. A user draws on an HTML5 canvas in their browser, and those brush strokes are transmitted via Flask and Socket.io to a Raspberry Pi Zero, which translates the positions into corresponding light colors on the tree. The system requires an initial calibration phase to map canvas coordinates to physical light locations. It is designed for hobbyists interested in creative lighting projects and interactive installations.

written from the facts on this page · September 2026

From the sources

Based on the work I did last year using ws2812b lights . I created a very simple hack in order to enable the lights of a Christmas tree to be painted. I made use of Flask (a Python Web framework) along with the Flask socket.io library, in order to enable touch events from pressing a HTML5 canvas to be sent to my Pi Zero, which controls the setting of the lights. The position of the lights which are used by the web application, where obtained through a calibration phase which is documented in the above link. For some reason I’ve found these lights rather temperamental, with the first light in the chain occasionally breaking, despite using a capacitor to help protect against in-rush…from anfractuosity.com

Does a similar job

all alternatives →

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, December 2016

the whole month →
  • Amazon Go▲1,578

    Amazon stores with no lines or checkout 🛍

    AI · 2016 · amazon.com

  • Gomix▲842

    The easiest way to build the app or bot of your dreams

    AI · 2016

  • Talking face-to-face with your team is just one click away

    Work · 2016 · slack.com

  • Responsive design for Sketch

    Work · 2016 · animaapp.github.io

  • What's your workplace flavor? Join 10M+ users and take the free personality test to find out. Discover your workplace strengths and ideal career path in under 3 minutes with our CPTI™ assessment, based on the Myers-Briggs framework.

    Dev tools · 2016 · cake.me

  • Virality for startups made easy 💪

    Growth · 2016 · viral-loops.com