Retri Posted October 9, 2015 Share Posted October 9, 2015 I want to draw a line between two points that curve and fade like the mock-up below.Can anyone point me in the right direction, I'm sort of hitting dead ends on google. Quote Link to comment Share on other sites More sharing options...
xerver Posted October 9, 2015 Share Posted October 9, 2015 Try searching for "masking" and/or "alpha masking" Quote Link to comment Share on other sites More sharing options...
dimumurray Posted October 10, 2015 Share Posted October 10, 2015 You could try approximating the curve using a series of line segments; applying a different alpha to each successive segment. Quote Link to comment Share on other sites More sharing options...
mattstyles Posted October 11, 2015 Share Posted October 11, 2015 Yeah, its heavy but I've done something similar by drawing circles at successive points along the curve, its actually available here although I cant think of a practical use. Are you after the alpha blending or the drawing of a curve? For alpha, as suggested, look at using masking. For the curve, look at how bezier curves work, although for the line you've drawn, you'd need more than two points. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.