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

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

New Here ,
Feb 02, 2016 Feb 02, 2016

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?

TOPICS
Scripting
1.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

correct answers 1 Correct answer

Guide , Feb 04, 2016 Feb 04, 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...

Translate
Adobe
Participant ,
Feb 02, 2016 Feb 02, 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?

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 ,
Feb 02, 2016 Feb 02, 2016

yes, exactly like that

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
Participant ,
Feb 04, 2016 Feb 04, 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?

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 ,
Feb 04, 2016 Feb 04, 2016

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

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
Guide ,
Feb 04, 2016 Feb 04, 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-a...

the source code is available for download.

I've not looked at the code though.

nice little tool...

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 ,
Feb 04, 2016 Feb 04, 2016
LATEST

neat. thank you!

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