Re: Pointlist to Bezier?

2022-06-14 Thread Craig Newman via use-livecode
There is a similar thread on the forum: https://forums.livecode.com/viewtopic.php?f=8=34550 Craig > On Jun 14, 2022, at 8:54 AM, David Bovill via use-livecode > wrote: > > I found some well documented python code: > > •

Re: Pointlist to Bezier?

2022-06-14 Thread David Bovill via use-livecode
I found some well documented python code: • https://github.com/volkerp/fitCurves/blob/master/fitCurves.py And some Javascript code: • https://github.com/soswow/fit-curve/blob/master/src/fit-curve.js The javascript code could be called from Livecode. To see the demo of how this would work in

Re: Pointlist to Bezier?

2022-06-14 Thread David Bovill via use-livecode
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 +, Michael