r/FastLED • u/StefanPetrick • Mar 09 '26
Share_something Progress Update: Fractional Shifting Meets Color-Emitting Line
It's the same underlying effect I showed yesterday, but with better-tuned parameters. This time, the color is seeded by a line whose endpoints follow Lissajous curves. The fading range now also allows feedback loops, which can be considered a bug or a feature, but I did it deliberately.
Python code: https://pastebin.com/cgZ0QYdv
84
Upvotes
View all comments
Show parent comment
2
u/mindful_stone Mar 14 '26
The porting is not a "hassle" at all. It's a privilege to help bring your ideas to the FastLED community.
[And if YOU are what folks around here would consider an "inexperienced hobby coder," then I would at best be considered a "drop-in guest." Look at my Reddit age (hint: 5 months). That is just about one half of my lifetime "experience" as a "coder." Pretty much everything I know about any of this is what I've cobbled together from folks like you. And by "everything" I don't mean (only) things like "Perlin noise" or "Polar-Cartesian transformations" or "oscillating injectors". I mean things like "C++" and "GitHub" and "Arduino" and "addressable LEDs"! There are some serious programmers and developers and whatever in this group, but I am most definitely not one of them.]
I love your suggestions about the names. Absolutely will do. AND you just cleared up something HUGE for me (I think). My understanding had been that:
But I was turning myself in circles trying to figure out the logic to implement all of that for each of the 3/4? versions you shared.
But the way you described it above helped me see instantly (hence the value of descriptive names) that:
yes, the color injector method is the primary unit of organization. The emitter is the primary variant. It determines the shape and motion of colors that are dropped into the ColorFlowField.
Other paint/flow methods can include spirals, waves, vortices, etc.
I swear, just your deliberate elegant descriptive names above launched a cascade of understanding! (I think. Please correct me as needed!)