Skip to content

Instantly share code, notes, and snippets.

@sparkplug23
sparkplug23 / wled tree mapper.py
Created November 12, 2024 03:25 — forked from theosnel/wled tree mapper.py
wled christmas tree map generator
import json
from collections import defaultdict
matrix = defaultdict(list)
width = 30
# each row in the tree, from top to bottom.
# [first led, middle led, last led], counting from 0
input = [