hoping someone can point me in the right direction here.

hoping someone can point me in the right direction here. how do you do the math necessary to display something like this on a led matrix? if it was just a simple string of leds, i could see how to do it, but not for a matrix. im rather confused by this seemingly simple thought that i cant seem to find an answer to


Here’s my goto links for this kind of thing:


1-Create a colour gradient that you can index from 0 to X
2-Draw a circle radius Y(initially 1) % (width of canvas) with colour X%(Colour index range)
3-Increment Radius
4-Increment Colour index X
5-Goto 2

thanks that is fairly simple

@Andrew_Tuline thank you for your code !! Here is some example running on my panel

Looks great!!

Can you share the full sketch @Yves_BAZIN ?

@Will_Tatam of course when back home I will publish it

@Will_Tatam here it is https://gist.github.com/hpwit/5b9df75a0aae6dcb7387e3ea2ae1075f

Here’s my own 1D version:

The math is explained here: https://www.bidouille.org/prog/plasma

Here one of my implementations of it: https://plus.google.com/u/0/115124694226931502095/posts/9kitMZYQA4y