chris-creditdesign / nature-ai2html

Custom implementation of ai2html for Nature news graphics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nature-ai2html

Custom build of the excellent ai2html project from The New York Times, restructured to be easily used to produce Nature infographics.

Changes from NYT version

  • Code is split into modules.
  • Typescript is used along with types-for-adobe for Adobe Illustrator types.
  • NYT specific settings are removed.

To get started

Install dependencies with

npm install

To debug Adobe Illustrator fuctions

Compile src/debug.ts into dist/nature-ai2html-debug-VERSION.js with:

npm run rollup:debug

Then either install and run the script in Adobe Illustrator or use the ExtendScript Debugger extension in VS Code.

About

Custom implementation of ai2html for Nature news graphics


Languages

Language:TypeScript 99.4%Language:JavaScript 0.6%