It is currently Thu Apr 25, 2024 2:31 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 75 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Symmetry Tile
PostPosted: Tue Jul 08, 2014 7:23 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Used Pic-Pak to fill the target before re-running p4m this time. This is a crop to make it a seamless tile. :)


Attachments:
p4m_pic-pac.png
p4m_pic-pac.png [ 1.57 MiB | Viewed 1743 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Symmetry Tile
PostPosted: Tue Jul 08, 2014 9:20 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
And still having fun. lol

:)

Attachment:
p6m.png
p6m.png [ 2.47 MiB | Viewed 1735 times ]


Attachments:
Untitled.jpg
Untitled.jpg [ 1013.98 KiB | Viewed 1735 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Symmetry Tile
PostPosted: Wed Jul 09, 2014 6:56 pm  (#33) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Elfnor at the start of the plugin could you remake the incoming selection so that it's width and height
is at least half the width and height set in the menu,using the same offsets

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 2:33 am  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Graechan, I'm not sure what you mean.

If the user has selected for example, a 50 by 70 pixel rectangle in the original image and in the dialog leaves the width and height and height at 500, what do you want to happen?

If this example dosen't work can you give us another.

Elfnor


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 4:47 am  (#35) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Quick tut on how I used this gem. It matters not if square or rectangle. First start with arbitrary size (in this case 1024X768) transparent layer. Now make a selection (this case, I did a circular selection).

Attachment:
circular selection.png
circular selection.png [ 102.12 KiB | Viewed 1675 times ]


Now run the preset; you'll, of course, get a blank result (disgard) but you will also get a new selection. Do selection to path.

Attachment:
p31m_target.png
p31m_target.png [ 52.7 KiB | Viewed 1675 times ]


Attachment:
path_result.png
path_result.png [ 95.58 KiB | Viewed 1675 times ]



Now deselect, fill stuff withing the path are (you can also choose to place symmetrical object at center edge of where the facets are that will reflect but this requires a good eyeball) and then you get the following new target:

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 4:51 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Now this is your new target:

Attachment:
result_target.png
result_target.png [ 261.08 KiB | Viewed 1674 times ]


Now do path to selection and re-run the plugin. Choose a different size if you like; I choose 2000X2000


Attachments:
result.png
result.png [ 3.17 MiB | Viewed 1674 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 5:07 am  (#37) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Thanks Lyle that is what I was trying to get at, the selected part of the image is not necessarily the part that is used but your solution is great.I guess that's why they pay you the big bucks

Beautiful floral pattern as well

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Thu Jul 10, 2014 5:19 am, edited 1 time in total.

Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 5:18 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12658
Location: Spain, Aragón
Thank you Lyle, you make what look to be difficult be easier. At least one can understand the behaviour of the outcome. :tyspin

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 5:22 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Lyle

That's a clever way of getting just what you want in the selection.

One early idea for the plugin, for the symmetries with non-rectangular cells, was to get the user to define the initial cell with a path on the image. The plug-in would then "tidy up" this inital rough path to be a perfect equilateral traingle or kite shape etc. as required, and use that to make a selection to make the new image. I rejected this as difficult to explain to the user, "What's a kite shape?", and while "tidying up" the users path sounds easy, the implementation was not straightforward.

Elfnor

PS. Can I add that method to my docs when (hopefully this weekend) I write a little more on how you can use the plugin?


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 6:55 am  (#40) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Elfnor I'm sure Lyle won't mind as the technique he used creates fantastic patterns

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 7:59 am  (#41) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
lylejk wrote:
Quick tut on how I used this gem. (...) and then you get the following new target:

Thanks lylejk!
You are a genius! :clap :bowdown
With that your tip helped a lot. :bigthup

I chose 2000x2000, but reduce to view in this post;
Image
:tyspin

_________________
bbbbbbbbbbbImage
bbbbbbbbbbb Be patient, English is not my language.


Top
 Post subject: Re: Symmetry Tile
PostPosted: Thu Jul 10, 2014 1:27 pm  (#42) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
elfnor wrote:
Lyle

That's a clever way of getting just what you want in the selection.

One early idea for the plugin, for the symmetries with non-rectangular cells, was to get the user to define the initial cell with a path on the image. The plug-in would then "tidy up" this inital rough path to be a perfect equilateral traingle or kite shape etc. as required, and use that to make a selection to make the new image. I rejected this as difficult to explain to the user, "What's a kite shape?", and while "tidying up" the users path sounds easy, the implementation was not straightforward.

Elfnor

PS. Can I add that method to my docs when (hopefully this weekend) I write a little more on how you can use the plugin?


Everything I share is for all to use freely. You are the keeper of the big manual so feel free. Just wish there was a preview for python plugins.

Also, thanks all for the comments; definitely cool result Akros. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 13, 2014 5:13 am  (#43) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Just a quick update. I've added a couple of short posts on how to use the plugin over at http://elfnor.github.io/lookthinkmake/t ... ytile.html.

I found a bug when using the plug-in with images that have a transparent background and transparent fills or brush strokes. The new symmerty image still got drawn but some copies of the cell were put in place several times, making them darker than others.

I've fixed that and there's a update over at github. https://github.com/elfnor/symmetrytile

There's definitely another bug in that sometimes you get no output at all. I'm still trying to work out when this occurs. In the meantime I'm pretty sure it never occurs with a flat image like a png or jpg. If all else fails try exporting your image and reopening it.

Elfnor


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 13, 2014 9:51 am  (#44) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Not sure why the updated plugin is almost 10 times bigger then the original, but the plugin still works so thanks for the update. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 13, 2014 6:25 pm  (#45) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
lylejk wrote:
Not sure why the updated plugin is almost 10 times bigger then the original, but the plugin still works so thanks for the update. :)


Lyle the file i downloaded from the master is 1 kb smaller.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 14, 2014 3:26 pm  (#46) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
Elfnor - the symmetry group "pmm" is not working ( no activity after ok)
is only for me? Thk


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 14, 2014 4:02 pm  (#47) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12658
Location: Spain, Aragón
Marcello, I checked it "pmm" and it doesn't work. it does nothing.

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 14, 2014 4:16 pm  (#48) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
thk Issabella, I hope Elfnor can repair!
here is another my test

Image

the cell was partly trasparent and after run p2 i created a layer with a pattener


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 14, 2014 5:53 pm  (#49) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Thanks Marcello and Isabella, there is a bug in the pmm setting which means no output is produced. I think if you set multiple to yes, it may work. I've fixed this bug and will update the code later today.

Elfnor


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 14, 2014 8:26 pm  (#50) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Rod wrote:
lylejk wrote:
Not sure why the updated plugin is almost 10 times bigger then the original, but the plugin still works so thanks for the update. :)


Lyle the file i downloaded from the master is 1 kb smaller.


Deleted the original one (overwritten). I do work weekend nights so I might have misread the size with tired eyes Rod (my excuse and I'll stick with it; lol). Now back to bed in prep. for my last gig (or should I say my version of Friday). :)

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 75 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Symmetry diagonal

3

No new posts More Symmetry Painting

4

No new posts Attachment(s) Symmetry animals

19

No new posts Symmetry Painter [Solved]

3

No new posts Attachment(s) Create a 'clipboard' brush & mandala with Symmetry Painting

25



* Login  



Powered by phpBB3 © phpBB Group