It is currently Thu Jul 25, 2024 3:00 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 148 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 8  Next
Author Message
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 11:39 am  (#41) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
trandoductin wrote:
Odinbc, but if you had to choose one. Which one?

I also noticed that the triangulator app doesn't use a constant color for each triangle but uses a gradient, you can tell by the different shades in each corner of each triangle.
I like black and white but I'll go with the color one.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 2:36 pm  (#42) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
good tutorial, wow, what a lot of work to do it by hand, but the results are awesome.


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 6:50 pm  (#43) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
trandoductin wrote:
Hello all,
so which one do you guys like more? "by hand" or "triangulator app"?


by hand all the way, but the app is more speedy (if you know how to use it right) and fills with gradients (vs solid colors).
Nice results.
Carlos, thanks, appreciate it.


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 6:54 pm  (#44) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Long time no see Kit.

_________________
Image


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 7:09 pm  (#45) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
molly wrote:
Long time no see Kit.


Been busy, I mean real busy and it's not going to change soon but i'm glad i got free time to stop by :) .


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 7:17 pm  (#46) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
K1TesseraEna wrote:
trandoductin wrote:
Hello all,
so which one do you guys like more? "by hand" or "triangulator app"?


by hand all the way, but the app is more speedy (if you know how to use it right) and fills with gradients (vs solid colors).
Nice results.
Carlos, thanks, appreciate it.


I guess i don't know how to control where the triangles take place
here's a bad photo of me then polygon arted by hand
Image
then the same photo by using triangulator
Image
I also like by hand more because you are not restricted to triangles (sometimes i like to use four sided polygon to add some variation like in above image for the eyebrows,neck,and lips i used plenty of four sided polygons)

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 7:30 pm  (#47) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
Have you guys seen this one of Marilyn Monroe? (I found this on the internet)
Image
I really like the 3D effect created here especially around the chin and side of the face area. it looks like it's popping right out of the page. cool :)
here's the large version
Image
The small triangle mole on her face reminds me of what i did for bruce lee's nipple (also a small polygon to show detail)

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 7:50 pm  (#48) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
You're incredibly good, trandoductin.

I like the MM render, polygonizing parts of an image, some drop shadows and it has a 2.5D or 3D feel to it.

What I meant by 'using the app right' is that you don't want to use it on the whole image, break the image down to fragments - face, hair, arms and triangulate them separately. Edit in Inkscape, AI, combine as layers, add drop shadows. This kind of stuff :)

Thanks for posting your works here, I'd love to see more


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sun May 11, 2014 8:36 pm  (#49) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
I never thought of doing components separately, that's a great idea I might have to try that. Thanks for telling me that.

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Fri May 16, 2014 7:06 pm  (#50) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
This is sort of a desperate request to anyone out there who's an expert at Javascript(I know some javascript but I am nowhere near expert) and understands Triangulator App.
If possible this would be great.
1) To change Triangulator App to a Polygonize App which lets the user click on points (in order) to define a polygon of 3 or more edges then closes the polygon by clicking on the first point.

2) Then if possible, to add an option that defaults to gradient like how it's working now or if solid color is selected it'll use the solid color which is an average color of 3x3 or 2x2 pixel area that is in the middle of the polygon.

I also noticed that after adding about 20 or 30 points in triangulator app, the program slows down I am guessing because of the automated triangulation. I think with polygons manually defined by user, it might be faster since it just has to follow click instructions and not automate any triangulation. And not restricted to triangles, users can get more creative with their polygons.

If you are the expert, please do it, or if you know anyone who can do it please let them know. It'll be great for people who want to do polygon art.

Thanks in advance to anyone who can get this going.

Or if you know the creator of triangulator app, let me know so i can contact him/her and make a request :)

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sat May 17, 2014 3:38 pm  (#51) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
sharing my first try at polygon art (by hand) (on deviant art)
I like the face and the cloth on the forearms. :)
Not very happy with the chest area, looks like there's a big bump or a beach ball there, i was too into the triangles and did not think that it would create such a beach ball effect :(
Image

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Sat May 17, 2014 8:29 pm  (#52) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
It is still very good and keeps her mysterious look.


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Mon May 19, 2014 4:57 pm  (#53) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
polygon zipped folder
I have altered the code (not very good, but it works) of triangulator app.
Now if you click 3 points and then click on the first point it closes off the triangle.
If you click on 4 points (in order, counter clockwise or clockwise) then click on first point it closes off the 4 sided polygon.
If you click on 5 points (in order, counter clockwise or clockwise), it automatically closes off the 5 sided polygon. Because I wanted the maximum to be 5 sided.
After drawing a polygon, you go on the next one. You can not edited created polygons.
And now it uses solid color instead of gradient (well it's a gradient but from the same color to the same color so it's solid).
I think it's a total hack as I am not very experienced with javascript.
Here are some images to demonstrate that it lets you manually creates 3, 4 and 5 sided polygons.
Attachment:
polygons.png
polygons.png [ 26.01 KiB | Viewed 3323 times ]

Attachment:
polygonsoverjesus.png
polygonsoverjesus.png [ 136.75 KiB | Viewed 3323 times ]

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Mon May 19, 2014 11:18 pm  (#54) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
I changed the code a bit to leave vertices behind so that you can select them again. But don't try to move vertices, it will mess up the polygons in strange ways. Just simply click on them.
polygon with vertices left behind
After about 20 polygons or so the app slows down tremendously.
With the below image it was so slow, i had to export it 7 portions and then composed them later.
I didn't think GIMP could open .svg files, but apparently it does (GIMP is awesome).
Attachment:
toyotayaris.jpg
toyotayaris.jpg [ 757.71 KiB | Viewed 3313 times ]

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Tue May 20, 2014 3:41 pm  (#55) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
One BIG problem remains. Speed.
After about 20 polygons or so (it's a guess) but basically as you add more vertices/polygons the app slows down tremendously to the point where you can click a number vertices and wait like 3 seconds or more before you see the polygon appear.
Too bad i am not experienced enough to figure out what is slowing it down so much. If anyone has a clue how to speed it up, please let me know.
Thanks in advance.

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Wed May 21, 2014 2:22 pm  (#56) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
There's a bug, it's exporting 4 pixels to the right and grabbing average color 4 pixels to the right.
I only found this out when i was exporting different parts and they kept moving to the right and showing 4 pixel space. (You can see this spacing when you look at the car above at the edge between two doors and around the hood of car, that's the 4 pixel spacing).
So this version fixes that 4 pixels.
https://www.dropbox.com/s/z3w8f03zv23gf11/polygon_4pixel.zip
This version also makes the outline of polygons to have width of .5 to get rid of the blank outlines so polygons will now meet at the edges and not leave any blank space.
This version will also grab average color of a 4x4 area instead of previously 6x6 area (of the average point of polygon points).

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Wed May 21, 2014 6:55 pm  (#57) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
Elephant polygon art using the altered code.
And I dropped shawdow on parts such as body, then legs, then ears, then head and trunk to make it pop out a bit
Attachment:
elephant.jpg
elephant.jpg [ 300.45 KiB | Viewed 3261 times ]

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Wed May 21, 2014 9:14 pm  (#58) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Downloaded the altered script, will try it out this weekend. Thanks for doing this, trandoductin!
The elephant and Mona Lisa came out great.
You said the app's slowing down after 20 or so polygons, I actually have never got this kind of problem,
and just to check this out I created well over 100 with the original triangulator before it started to show the signs
of slowdown. What browser are you using?


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Wed May 21, 2014 10:07 pm  (#59) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
K1TesseraEna
you're welcome, i was glad that i was able to alter it.
However i am not good enough to alter it so that you can move the vertices around and the polygons would change (the ability to edit). However i found that once i drew a polygon there was no need to edit so :)
Over 100? I am running it in firefox browser on windows 8.
What browser are you using? (edit: I just remembered you posted in the beginning saying you used Chrome, maybe I'll test it on Chrome and see if it's faster).

Edit: Just tried it in in Chrome, it's much faster and doesn't seem to slow down after 20 polygons Great!
But for some reason things don't start working unless I start off by clicking on "Delete all vertices".
Also, If i zoom in more than 100 percent, the work is not displayed at all (including vertices and polygons) and zoom back out to 100 percent or less than the work is displayed. In firefox i can zoom in maximum until it doesn't let you zoom anymore. Each browser has its advantages/disadvantages i guess. I might have to start using Chrome to get the speed that i want.

_________________
TinT


Top
 Post subject: Re: Polygon Art (link to Triangulator app on p.2)
PostPosted: Thu May 22, 2014 1:06 pm  (#60) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
Such a beautiful apple found here by conbagui.
Must polygonize it :)
I was able to do this in one go with no slow down by using Chrome browser.
Attachment:
apple.jpg
apple.jpg [ 253.61 KiB | Viewed 3224 times ]

_________________
TinT


Top
Post new topic Reply to topic  [ 148 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 8  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) GEGL Polygons - Simple Polygon wallpaper generator

15

No new posts Attachment(s) Link Area on image.

16

No new posts Attachment(s) Guide to Dinasset's Drawing Effect Abecedary _ PDFs with a LINK

8

No new posts Draw Arrows/Draw Shapes: Sorry! My download link hadn't worked.

0



* Login  



Powered by phpBB3 © phpBB Group