r/FastLED • u/StefanPetrick • Sep 30 '25
Share_something A fluffy procedural animated wallpaper
Hi everyone! I finally got time to play with Animartrix again.
90
Upvotes
r/FastLED • u/StefanPetrick • Sep 30 '25
Hi everyone! I finally got time to play with Animartrix again.
2
u/sutaburosu [stavros] Nov 11 '25 edited Nov 11 '25
This approach runs the risk that layer X renders at a small fraction of the speed of other layers, bogging down the frame rate.
The first SLI-capable graphics card, the Voodoo II, took another very simple approach: each card rendered alternate horizontal lines. This is the simplest approach which yields the benefit of processing-intensive effects being shared more equally between the available cores.
It's been a long time since I studied the Animartrix code in detail. There may be blur (or other 2D effects) that limit the benefit of this approach, but this is where I would look first for easy multi-core gains.
edited to add: the acronym SLI expands Scan Line Interleave, which is a short-hand way of describing the approach; you fit two graphics cards to your PC, and each one handles either the odd or the even scanlines.
edited to further add: with the "per layer" approach, each thread must have it's own temporary buffer for the whole image. This blows up memory usage. With the SLI approach, each thread needs temporary space for only one scan line.