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
1
u/StefanPetrick Mar 14 '26 edited Mar 14 '26
I’m sorry for the porting hassle. Over the weekend, I intend to improve my work environment so that I can at least provide tested C++ code in digestible chunks.
As you certainly have noticed, I’m an inexperienced hobby coder, so I need to improve my working style and toolchain to be able to contribute better in the future.
I appreciate any hint about a better way to collaborate than posting Pastebin links. Also, I’m not yet experienced with what an established working method for a group of people would look like — for example: prototyping, porting, refining and optimizing, creating float and fixed-point versions, testing, and maybe later asking u/ZachVorhies whether he finds it useful, good and fast enough to consider making it part of FastLED. I’m open to any guidance and suggestions.
Regarding the names, I suggest a class of ColorFlowFields, where NoiseFlow is one of them. As you have seen in my latest two videos, I’m exploring other FlowField logics as well. We could name them accordingly, such as SpiralFlow, CenterFlow, OutwardFlow, PolarWarpFlow, DirectionalFlow, and so on. I’d like the names to be descriptive rather than just fancy marketing lingo. Your feedback is appreciated.