Hi, I've build a 7x7 led matrix in a coffee table with 4 pressure

Hi, I’ve build a 7x7 led matrix in a coffee table with 4 pressure sensitive resistors in the corners.
I want to make the table fade in colour every time the pressure changes.
I already wrote a function detecting the pressure point X,Y coordinates on the table.
I want to make a colour crossfade starting from the X,Y coordinates where the touch is detected. Has anyone already wrote a function that does a smooth colour crossfade that originates from a coordinate and then expands (grows) to the rest of the matrix?

You mean blur2d?

If I see video’s of blur2d, its a dot moving. What I want is a dot bleeding/expanding and filling the complete matrix in a new colour.

If you do an iteration of blur2d every frame, you should see your single dot bleed across your matrix as long as you’re re-painting the dot every frame.

This makes sense, I’ll try this weekend.