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
Hey this is a lot of fun - reminds me of an old Amiga drawing program.
I attached a (very) quick try
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)
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.
I'm so sorry!!!!!!!!!!! the script is correct and great!
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 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!
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
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?
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
nothing happened when i drew it :/