Pointlist to Bezier?

David Bovill david.bovill at gmail.com
Tue Jun 14 07:30:43 EDT 2022


Searching around for a function in LC. It should take the points of a graphic and return a smoothed the points of a smoothed line. I’ve found lots of bezier style experiments but no “curve fitting” code. Anyone have a function?

📆    Schedule a call with me
On 6 Dec 2015, 12:10 +0000, Michael Kristensen <michael-kristensen at dsa-net.dk>, wrote:
> Pointlist to Bezier
>
> Hi there
>
> I wonder if any have code to take a point-list and turn it into a smooth-lined bezier.
>
> There are explanations around the net for C-code but it is very hard to understand.
>
> (one here said to be good but misses the graphics:)
> http://www.benknowscode.com/2012/09/path-interpolation-using-cubic-bezier_9742.html
>
> What could this code be used for.
>
> — Tracing an image
>
> — Smoothing the lines drawn by a user
>
> plus a lot more Im sure
>
> Thanks
> Michael
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


More information about the use-livecode mailing list