Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

New Here ,
Jan 26, 2025 Jan 26, 2025

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?

TOPICS
Draw and design , How-to , Import and export , Print and publish , Scripting
184
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Enthusiast ,
Jan 27, 2025 Jan 27, 2025
LATEST

Is it enough to use

app.executeMenuCommand('smooth menu item') ;

or

app.executeMenuCommand('simplify menu item') ;

?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines