Sg2.9
Reflector
Recent RSS
Creator:  Keegan Green
Date:  8. August 2007, 03:06

A simple tool that draws several reflections (mirror images) of your line. Options to reflect vertically, horizontally or both. The idea for this tool came from the old mac paint, were I used to spend hours as a kid drawing kaleidoscope patterns. I haven't seen anything like it since, so here is my scriptographer implementation.

Any suggestions for improvements to the code would be welcome, I'm no professional programmer.

A feature I would have liked to add is the ability to add unlimited axis to reflect across. I don't know how to achieve this... any ideas?

keegan

Nice tool
Date:  10. August 2007, 14:17

Hey this is a lot of fun - reminds me of an old Amiga drawing program.
I attached a (very) quick try

Re: Nice tool
From:  Max
Date:  17. August 2007, 18:56

very nice tool but on my pc return this error....

illegally formed XML syntax (C:\Program Files\Adobe\Adobe Illustrator CS3\Plug-in\Scriptographer_Win_CS3_2.0.025\Scriptographer\scripts\web\reflector.js#122)

Re: Nice tool
From:  Jonathan__
Date:  17. August 2007, 22:20

You're downloading the scripts wrongly - don't alt+click the links, just click on them normally. Otherwise it downloads an html page, and not the tool.

Re: Nice tool
From:  Max
Date:  22. August 2007, 19:51

I'm so sorry!!!!!!!!!!! the script is correct and great!

nice but how!
From:  AliAsali
Date:  17. March 2010, 00:45

Im new here! i have installed the tool successfully.but its not working.i execute the script and then start drawing lines with Pencil tool,nothing happens! what should i do?

Great and extra ideas
From:  Caline
Date:  12. December 2010, 13:25

Great tool! Thanks.
Nice additions would be to allow the use of the 'Shift' key to draw straight lines or the 'Alt' key to close the object after drawing it.
And: if it were possible to fill out angles and to draw along a 'circle'. That would be great!

Re: Great and extra ideas
From:  Jeff Fried
Date:  29. February 2012, 00:39

At first i thought this would be a very limited tool, but after a small modification to the code that let me choose the symmetry form, i was able to construct interesting structure which i was able to enhance very nicely by converting to Live Paint and filling in the areas, ala paint by number. I then applied SVG filter bevel shadow 1. Some of this took a bit to execute, but it was a lot of fun. I've attached my example - please no critique of the art, this was just an experiment meant for fun. Thanks for creating it. Since i too would like more lines of symmetry and the ability to add more than simple pen lines, i will look into adding those features myself just in case the original author doesn't have the time.

I would like to submit my simple "fix" that made it possible for the options to appear. How do i do that? Meanwhile if you want to make the change to your copy simply replace the option function with

// function onOptions() {
values = Dialog.prompt("Reflector", {
reflectx: { description: "Reflect across the X axis on(1) - off(0)"},
reflecty: { description: "Reflect across the Y axis on(1) - off(0)"},
useaxis: { description: "Reflect relative to: Artboard (0) - Line(1)"},
}, values);
// }

Posting my sample lost the color. Anyone know why that happened or how to fix it?

... jeff

Re: Great and extra ideas
From:  Caline
Date:  29. February 2012, 09:12

Hi Jeff, the colour is there if you mouse over it :)))
I don't see a difference between what's in the original code and what you posted above. Is it me or is it a mistake?

Re: Great and extra ideas
From:  Jeff Fried
Date:  8. April 2012, 14:17

Thanks for the mouse over suggestion, it worked.

I removed the beginning and end of the function onOptions() by commenting them out:

// function onOptions() {

and

// }

... jeff

Re: Great and extra ideas
From:  Dale
Date:  29. October 2013, 19:05

nothing happened when i drew it :/

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19