Skip to main content
nathanwithz
Participant
February 2, 2016
Answered

script to draw shapes and fill with eyedropper at vertex of anchors?

  • February 2, 2016
  • 2 replies
  • 1367 views

Is there a script out there that can turn a picture into a "mosaic" of a user specified shape, where the fill of the shape of the mosaic would be filled with the current value form an eye dropper at the vertex (intersection) of the shapes anchor points?

for example if I had a picture of an orange. and I ran the script with triangles. it would draw transparent triangles of different sizes over the orange. then each triangle would calculate the color at its center with eyedropper and set this as its fill .so that a leaf triangle would be green, a rine triangle would be orange, and a stem triangle would be brown. creating a mosaic affect on the picture.

if something like this does not exist, do you have any advice on how I can write it myself in java-script?

This topic has been closed for replies.
Correct answer Qwertyfly___

you could get some info from this tool

http://design.tutsplus.com/tutorials/how-to-create-an-abstract-low-poly-pattern-in-adobe-photoshop-and-illustrator--cms-…

the source code is available for download.

I've not looked at the code though.

nice little tool...

2 replies

Zantcor
Inspiring
February 4, 2016

I'm ok with scripts, not real advanced but I'll take a look and see what I can find out.  What I wonder is if there is a way to use the existing "Stained Glass" filter but change the settings that are used to get exactly what you want.

What version of CC are you using?

nathanwithz
Participant
February 5, 2016

the most current one. this is an example of what I would like the script to do.

Qwertyfly___
Qwertyfly___Correct answer
Legend
February 5, 2016

you could get some info from this tool

http://design.tutsplus.com/tutorials/how-to-create-an-abstract-low-poly-pattern-in-adobe-photoshop-and-illustrator--cms-…

the source code is available for download.

I've not looked at the code though.

nice little tool...

Zantcor
Inspiring
February 2, 2016

Are you talking about something similar to the "Stained Glass" effect?  You can't change the shape on it but is that along the lines of what your looking for?

nathanwithz
Participant
February 2, 2016

yes, exactly like that