We are about to switch to a new forum software. Until then we have removed the registration on this forum.
lets say i draw a line
line(0,0, width, height);
is there some way to make this line increase in thickness from 0,0 along the diagonal to width, height say from thickness 1 to thickness 4.
strokeWeight seems to want to apply thickness to a whole line, but what i'm essentially looking for is gradient thickness. any ways to do this natively, or perhaps with a shader, or perhaps some other hacky way?