Silly idea: Flatten all Bezier curves to small polylines. At rendering time, if zoomed in enough, render such polylines as Catmull-Rom splines. Avoids numerical precision issues because everything is lines until the last possible moment, and keeps curves looking curved.
-
Show this thread
(I have battle scars from numerical precision/stability issues trying to manipulate Bezier curves directly. Basically figured I couldn’t ship such code because I’d be dealing with broken Web content forever. It’d probably work better for games where you can control the assets.)
12:12 PM - 11 May 2020
0 replies
0 retweets
9 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.