Wednesday, May 27, 2009

New Version of Arc Twister

ArcTwister is reborn... Same functionality, but new interface. Now you don't need to install a separate SWF, and the dialog is better than v.1. New dialog looks like this:


And, like the swf version, the object(s) are adjusted each time you release a slider... Slick huh?

enjoy,
-J

Sunday, May 24, 2009

New Script "Extrude Faces"


Extrude Faces

Ta Dahhhh! A quick way to extrude selected anchors from a path object.
Just select a handful of sequential anchors with the Direct Selection Arrow (it's keyboard shortcut is "a" if you didn't know...)

When you run this script, it adds an anchor point at the beginning and the end of your point selection. This allows you to drag your selected points as if they were extruded from the pathObject.

This script was really a solution looking for a problem, I just wanted to see if I could do it.
Of course, sometimes these projects turn out to be the most popular...
If you find it useful, let me know. Check it.

cheers,
-J

Tuesday, May 05, 2009

New Script: allPoints

S'poze you have a shape like this, and you want to draw a line from every point to every other point. OK, no problem. Just turn on "snap to points" drop a few lines, and you're done in 10 seconds. But what if you want to do something a little more complex, or something a little MORE complex?
Well if you do, you're going to love my new little script allPoints.

This script draws all connecting lines groups them together. The original object is kept but is not included in the group. It works on any single selected path item, and it's really, really fast . . . even works on stars and objects drawn freehand.

So, enough babble. Get to it kiddies - make me proud.

Tuesday, April 21, 2009

"Size By Luminance" a.k.a. Halftones!!!

Download:SizeByLuminance.jsx

Want to make halftones in illustrator?

You could go the auto trace route, or you could go with a plug-in from Phantasm. The Phantasm plug-in is powerful and gives you great control, so I do recommend using their product, but if you're on a tight budget, you can try my new script which is easy, and free.

First off, if you don't know about the "Mosaic Filter" in Illustrator, read this quick article. The Mosaic Filter is an amazingly under-used feature and it will do most of the heavy lifting for us today. Filter>Create>Object Mosaic

I will review the steps, but the above link is a detailed and well illustrated walk-through of how to turn an embedded image into an "object mosaic". (a pixellated looking collection of path items). You can mess with the settings, but be sure to check "Delete Raster" or at least remove it manually before running my script.




So, first of course you need to find an image. The image I'm using here is iStock_000008518543.jpg from iStockPhoto.com.






Note: You'll get a better result if you "pre-pixellize your image in Photoshop, but if you're just goofing around with this tutorial, you could just skip that step and embed your image directly into illustrator and apply Filter>Create>Object Mosaic.
Be sure to actually embed the image, and not just link to it, or this step won't work.


Now, just ungroup your new Object Mosaic , select all the pieces, and run my "Resize on Luminance" script and decide if you want your image to be against a black or a white background.









(The script doesn't actually add the background, it just reverses the dot sizing, see the images:

This is the result for the image processed for display against a white background.






This is the same image but processed inversely. Not so pretty now, but watch what happens when we drop it onto a black background.





Tada... Magic.. Ok, now you get the process I think, let's move on.






When you hit enter, a progress bar will come up and you can probably go get yourself a cup of coffee. The demo image here was a 20x30 pixel object which contained 600 pixel elements. On my machine, that took a good 25 seconds. If you have a 100x100 pixel mosaic, you're looking at ten thousand objects, which will take the JS engine quite a bit longer to chug through.

Really, that's the end of the tutorial, you can experiment from here. You could convert all the objects to circles using Effect>Convert to Shape>Ellipse,






You could select all the pixels and turn them black (or white if that was your choice)





Since the image data is now based on Size instead of color, you could even run my copyToMultipleObjects script and replace all the pixels with a Symbol.





Pop me an email if you use the script in any cool projects and I'll link to you in my new twitter feed @JS4AI. :)

cheers,
-J

Tuesday, March 24, 2009

FRACTALIZE!!!!

I'm really excited to announce this one. A couple weeks ago, John Kelly contacted me with this cool little script he wrote. He wanted to give something back to the scripting community, so he asked me if I wanted to do anything with it. We played around with the interface a little bit, and for your Illustrating pleasure, we now present a fun new script that will fractalize any single path object.


It uses an LSystems function (which I don't claim to understand), to duplicate the shapes. Check it out, and post here if you use it in anything cool. Cheers,
-J

Tuesday, March 17, 2009

A short review of Keyboard Shortcuts

Instead of using the mouse, I use the keyboard shortcuts Alt+F and then R to open the scripts menu, then I type the first letter of the script I want, and it just runs, no mouse required. If you are using scripts a lot, this is a huge time saver. (Be sure to check that your "CapsLock" key is off, otherwise it won't work.)

That's all there is to it . . . unless there are two scripts with the same name. Then illustrator highlights the first one, and sits stupidly waiting for you to make a decision. You can hit enter to select the currently highlighted script, or you can repeat the letter to highlight the next script in the list and then hit return to select that one, but I find this "choice" moment to be distracting.

I have found two ways to avoid such collisions. The first is to create sub-folders for related scripts; for instance if I put a sub-folder called "wundes" inside my scripts folder, and put my scripts there, then they would not collide with others scripts that began with the same letters. If I wanted to access my "Zoom and Center" script, I would now Type Alt-F, then R, then W for the wundes folder, then Z for "Zoom." This is a good solution, but it adds an extra letter. Sometimes the organization is worth it, but if not, read on...

The second way, (which I learned today by accident, and which inspired me to write this post,) is to rename your scripts and define the seek letter of the script by the letter that follows the "&" symbol.

Simply put, if I change "Zoom and Center" to "Zoom and &Center", The script will now look like this in the list: "Zoom and Center" Note the underline below the "C". Now when you type your shortcut key sequence, "Zoom and Center can be accessed by Alt-F, R,C which would end the collision with any scripts such as "Zombify.js" or "Zoomogrify.js"...

I won't be changing my existing script names to ensure backwards compatibility, but from now on, I will be using this second trick to avoid collisions. I hope you'll find it useful too.
cheers,
-J

Monday, February 23, 2009

New Script!!! "RandomEyes"



Well... What do you THINK it does???

Check it...
It's good fun.
-J