im trying to draw a curved line using mouse. there are three points on a straight line. a starting point, an ending point and a point in between. i want to draw a curved line by dragging the middle point in any direction. the other two points remain constant.
aveek
0
Newbie Poster
Recommended Answers
Jump to PostYou're talking about a spline!
Will there only ever be three points or merely looking at the current three points in an array of points.
Do you want the curve to pass through the points or use them as a guide for placing a smooth curve!If you're on …
Jump to Postim trying to draw a curved line using mouse. there are three points on a straight line. a starting point, an ending point and a point in between. i want to draw a curved line by dragging the middle point in any direction. the other two points remain constant.
Three …
All 8 Replies
wildgoose
420
Practically a Posting Shark
VernonDozier
2,218
Posting Expert
Featured Poster
aveek
0
Newbie Poster
aveek
0
Newbie Poster
wildgoose
420
Practically a Posting Shark
wildgoose
420
Practically a Posting Shark
aveek
0
Newbie Poster
VernonDozier
2,218
Posting Expert
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.