Python scripts used to generate LED intensity data sequences to mimic fireplace video.
Click image below to see YouTube video of the LED fireplace:
See also this instructables articles I wrote:
I used just under 90 RGB WS2812 LEDS connected to a Teensy microcontroller running the FastLED library.
To create a flame-like effect, I used strips of white paper glued to a carboard frame with the LEDs pushed through holes in a random pattern and black paper for the simulated logs.
Here is the Arduino script for the Teensy:
See this Jupyter notebook:
Frame from phone camera video:
See this Jupyter notebook:
I used this video on YouTube: YouTube video:
This involves mimicking the LED display using the image masks for each LED and finding a set of LED intensities (RGB) that best reproduce the image.
See this Jupyter notebook:
See this Jupyter notebook:
Here is the final Arduino script to run the LED sequence on the Teensy: