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

Drawscript - turn Illustrator shapes into code

Adobe Employee ,
Mar 21, 2013 Mar 21, 2013

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

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

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.

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

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

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

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

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

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

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

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

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."

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

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

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

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

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

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

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

Check if your Illustrator version matches the requirements.

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

2015 CC so it should work

O.

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

Some extensions might not be ready for the latest version.

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