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
82
Upvotes
3
u/StefanPetrick Mar 09 '26
I'm happy to see the idea being ported to C already!
u/mindful_stone just shared this: https://www.youtube.com/watch?v=qczTTGWb2Yo running yesterday version on real LEDs. Very cool!
I haven't seen the code yet, but I'm pretty sure it can be optimized and sped up quite a bit. Please consider all this just early prototyping.
It's reallyfun to reiterate on an old idea with a lot of potential using current technology and tools.
3
u/StefanPetrick Mar 12 '26
I tested a bunch of other ideas I’ve had in mind for years: https://youtu.be/9SVTupv_rv0
The code isn’t worth sharing yet — it’s only a proof of concept so far.
Over the weekend, I’ll try to get familiar with VS Code so that I can at least test actual FastLED C++ implementations. That’s my intention.
u/mindful_stone u/sutaburosu u/Buterbrott might enjoy having a look at this early draft shown in the video.
3
u/StefanPetrick Mar 18 '26
New modi: RotatingWInd and RotatingWindWave
Preview: https://youtu.be/i3zD10W418I
3
u/mindful_stone Mar 10 '26
u/StefanPetrick Here's some video of my port of your "retuned" Lissajous line version. But I was having so much fun with the orbital dots, I couldn't possibly just replace them. So instead I implemented both versions as alternate Modes ("Orbital" and "Lissajous") in the ColorTrails Program. I then set up separate versions of the UI controls that are exposed for the respective modes. The first 4-5 min of the video are me playing around with the Lissajous visualizer. The final 2-3 are of the Orbital.
One additional UI control I will add shortly is for the line amplitude. I already laid the groundwork for this by un-hardcoding those values (e.g., 10.5, 12.0,...) to be offsets to a base length that auto-scales to the minimum dimension of the matrix. It will take me less than 5 minutes to enable a UI factor on that base length.
https://youtu.be/cTVZ4rSK1eM
2
u/StefanPetrick Mar 13 '26
I ran a brainstorming session and had Codex prototype a whole new set of potentially cool trail effects.
There are some promising concepts in there — and they all seem doable from a computational standpoint.
I'd say some are interesting enough to consider them for refinement and later use.
https://www.youtube.com/watch?v=ZjS9Jn4aRs8
u/mindful_stone u/sutaburosu
2
u/StefanPetrick Mar 15 '26
Only minor improvements today: https://www.youtube.com/watch?v=iig2UNUMshA
2
u/StefanPetrick Mar 19 '26
This is the latest version of all the FlowFields as shown in the multiple videos: https://pastebin.com/U2S5pyu7
2
u/StefanPetrick Mar 19 '26
New Modi: Meandering Jet and Ringflow
https://www.youtube.com/watch?v=j9P81TUi6co
2
u/StefanPetrick Mar 22 '26
Here a combination of AnimARTrix as the color source + the FlowField pixel transport:
https://www.youtube.com/watch?v=L97aiWPH2D8
2
u/wondercreatory Mar 12 '26
Love this, reminds me of an old windows screen saver
2
u/ewowi Mar 15 '26
u/StefanPetrick his animation + u/mindful_stone his c++ port + u/Zachvorhies his fixed point and canvas libs + Claude Code = https://youtube.com/shorts/3AAFi8B1Ygs
Check the code here: https://github.com/MoonModules/MoonLight/commit/6ffb7bf767cb1177db3202802e9ac11a5cb1c402
2
u/Similar_Sherbet_7970 Jul 11 '26
Very keel.✌️🤟😎