Skip to main content
Participant
Jan 27, 2025 7:16 AM UTC
Question

JavaScript Code to Convert Line into Curve (Similar to Adobe Illustrator)

Hi everyone,
I'm looking for a JavaScript solution that can convert a straight line into a smooth curve, similar to the functionality available in Adobe Illustrator.

Does anyone have a code example or suggestions on how to achieve this using JavaScript, possibly with libraries like Canvas API, SVG, or any other approach?

1 reply

Legend
Jan 27, 2025 12:28 PM UTC

Is it enough to use

app.executeMenuCommand('smooth menu item') ;

or

app.executeMenuCommand('simplify menu item') ;

?

Translate