We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Subject says it all. I'd like to draw a line that gradually changes color from one end to the other.
I'm thinking I should avoid points/pixels because I want the line to look smooth and when I zoom in on a line that's been drawn with smooth(), it looks complicated to replicate. I made a rough pass at drawing shorter and shorter lines (first line is full length at one color, then as they get shorter I lerpColor() the colors), .... but they didn't come out all that smooth.
Thanks for any suggestions-