Hi all,
after trying a lot of coding around and searching in the web, I am hoping to find an answer here.
My C#/WPF application needs the user to draw lines continuously in different directions, such that each line is connected to the previous one. Now, I have implemented a timer to change the color of the lines every few Milli seconds.
So far, the code is working as expected, except that the colors are changing abruptly. How can I make the lines change color as in a gradient?
I didn't find gradients useful, as I am drawing the lines at run time. Instead, I need to change the individual pixel colors within the timer, but again in a gradual manner.
Any suggestions, please?