-
Notifications
You must be signed in to change notification settings - Fork 24
Player #9
Comments
That's a third visualizer, I guess people really like making those (I made one in Python and there has been an openGL one mentioned in #3) |
NICE! About the cone in the middle... does it not block some lights? Or it is semitransparent? |
I too am working on one that mirrors the python neopixel library so it can visualise any python code that could run on the real tree as well as run.py As an added bonus it can also be used to generate the CSV animation file from the data that the python code gave it. |
@programer19 currently the lights are rendered in a separate pass that uses its own depth buffer, so they are never obscured by the cone even when it's in front, mimicking the effect of seeing the lights "through" the leaves. The lights themselves are two colocated spheres of different sizes. The inner sphere is opaque and has a +0.5 lightness modifier on the base colour. The outer sphere is semitransparent - the opacity is set to half the lightness of the base colour, so when the light is off, it's completely transparent, and when the light is bright white, it's 50% transparent. The saturation of the outer sphere is also boosted by a factor of 2 so that colours show through more intensely in the halo, as is the case in video of the tree. |
my visualizer can also generate csv but i'm not mimicking neopixel (although you return the values as a list of length == amount of LEDs as [r,g,b] so if i change that inner list to a tuple it's basically the same thing) |
Yeah, there's a separate binary in the same repo |
the challenge of the best tree animation has become a challenge of the best tree visualization xD |
Another one using WebGL and WASM (#10) for online python development: |
I made a player for the CSV files:

https://github.com/Diggsey/xmas_tree
You just need Rust.
The text was updated successfully, but these errors were encountered: