3 ms·
> 2. The above tells you how to draw this with a computer. Just pick, say, 100 values of t between 0 and 1, and connect the dots with straight lines. This is t
by sweeneyrod 7y ago
> 2. The above tells you how to draw this with a computer. Just pick, say, 100 values of t between 0 and 1, and connect the dots with straight lines.
This is the obvious algorithm, but it has the problem that curvature is not uniform with respect to t - sometimes a straight line is a good approximation to a segment but sometimes it isn't. So instead you can draw a curve with a function that draws a straight line when that's good enough, and splits the curve in two then recurses on each half otherwise.
- romwell 7y agoGood point! It's hard to make a call as to what to do include in a 5-minute overview, but your point fits in one sentence, and is easy to understand. Thanks!