News for hackers. Stuff that matters.
Re:A Primer on Bézier Curves (2013) by sweeneyrod on Wednesday August 21, 2019 @06:18AM (#20755937)
> 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.

Re:A Primer on Bézier Curves (2013) by romwell on Wednesday August 21, 2019 @06:27PM (#20762587)
Good 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!