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

Drawscript - turn Illustrator shapes into code

Adobe Employee ,
Mar 21, 2013 Mar 21, 2013

Copy link to clipboard

Copied

I've just launched a little extension for Illustrator I've been working on called Drawscript - http://drawscri.pt

It converts Illustrator shapes into code (Obj-C, C++, JavaScript, Processing, ActionScript 3, JSON, Bezier array).

star.png

It's great for skinning UIs, creating vector assets for gaming and learning/teaching vector graphics programming.

If you have any comments, found bugs, etc. Let me know here or on my Twitter, Facebook, Google+.

Thanks!

Tom

Views

23.1K

Translate

Translate

Report

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
Explorer ,
Oct 14, 2013 Oct 14, 2013

Copy link to clipboard

Copied

This is awesome! Any chance of a port to the Corona sdk? In the past they have focused on bitmap but have recently released Graphics.2.0 which now includes newPolygon with fill options plus stroke and shape functions. Take a look at this about newPolygon.

http://docs.coronalabs.com/tachyon/api/library/display/newPolygon.html

I would be most willing to pay for a Corona ready version of Drawscript.

Keep up the good work.

Votes

Translate

Translate

Report

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
New Here ,
Apr 23, 2015 Apr 23, 2015

Copy link to clipboard

Copied

I would love to have something like this for corona sdk. Any updates on this?

Votes

Translate

Translate

Report

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
New Here ,
Oct 25, 2013 Oct 25, 2013

Copy link to clipboard

Copied

Has anyone written a transformation in javascript to convert Drawscript's JSON into EaselJS's graphics code?

Votes

Translate

Translate

Report

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
New Here ,
Nov 04, 2013 Nov 04, 2013

Copy link to clipboard

Copied

The processing code is much cleaner then the bezier editor tool inside processing. but I have fond it better to use C++ OpenFrameworks Shape becasue that takes shapes in to account.  The processing mode creates lines which are unfillable as objects.  C++ OpenFrameworks Shapes creates a shape using ofBeginShape, ofEndShape, ofVertex, which just need to be converted to beginShape, endShape, and vertex

Votes

Translate

Translate

Report

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
Community Beginner ,
Nov 30, 2013 Nov 30, 2013

Copy link to clipboard

Copied

As adrock42 says, the Processing conversion should be using the beginShape, endShape and vertex format rather than just lines. Lines won't accept a fill color and aren't grouped into objects.

e.g.

fill(247,170,243,80);
beginShape();
vertex(84,317);
vertex(105,290);
vertex(90,269);
vertex(110,306);
vertex(97,261);
vertex(155,275);
vertex(84,317);
endShape();

Votes

Translate

Translate

Report

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
New Here ,
Sep 22, 2014 Sep 22, 2014

Copy link to clipboard

Copied

Will this be updated for illustrator 18.0.0 on CC? When I try to install to Extensions Manager I get a return: "This extension can not be installed, it requires Illustrator version in range of inclusively between 16.0 and 17.9."

Votes

Translate

Translate

Report

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
New Here ,
Jul 08, 2015 Jul 08, 2015

Copy link to clipboard

Copied

Hey guys,
Does anyone know Is there a way to output the anchor coordinates like [x1,y2],[x2,y2] instead of x1,y1,x2,y2.
I looked into the code, but I am not very versed in Java. I think I found what I needed to change but after I recompiled the .zxp I could not install it. It said that the signature was invalid.

Any help will be much appreciated! Thanks!

Votes

Translate

Translate

Report

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
New Here ,
Jul 28, 2015 Jul 28, 2015

Copy link to clipboard

Copied

Really interested in trying and if possible participating in improving this extension.

Unfortunately it cannot be installed on Illustrator CC 2015.

Possible to get it at least to install or better get the source so I can patch and make it works ?

Thanks in advance

Votes

Translate

Translate

Report

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
New Here ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

The link to the download page is not working. Is there any way how can I get this extension? Tanks!

Votes

Translate

Translate

Report

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
Community Expert ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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
New Here ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

Hi Monika

Thank you very much for your reply. I have try to install this extension but all I get is empty extension panel. Any idea what to do?

Many Thanks

Ondrej

Votes

Translate

Translate

Report

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
Community Expert ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

Check if your Illustrator version matches the requirements.

Votes

Translate

Translate

Report

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
New Here ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

2015 CC so it should work

O.

Votes

Translate

Translate

Report

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
Community Expert ,
Mar 18, 2016 Mar 18, 2016

Copy link to clipboard

Copied

LATEST

Some extensions might not be ready for the latest version.

Votes

Translate

Translate

Report

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