It is currently Mon Jul 22, 2024 6:15 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 75 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Symmetry Tile
PostPosted: Sat Jul 05, 2014 11:55 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
I've just finished a new plugin also based on the old Xaos Terrazzo. It works in GIMP 2.8.

This plug-in takes the selection from an image ("cell") and produces a new image according to one of the 17 plane symmetry groups . These are also known as wallpaper groups or plane crystallographic groups.

Basically it rotates and or flips copies of the cell, combines them to form a tile and then copies that tile to fill a new image.

I've just uploaded it to gimpscripts.

It can also be found on the symmetrytile repository on github under the user elfnor.
There are also example galleries avaliable, and more info on my github blog.

Sorry as a new user I can't give links.

Enjoy!


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 12:28 am  (#2) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
elfnor I hope this helps

download link is symmetry-tile
This is the link for examples

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


Last edited by Graechan on Sun Jul 06, 2014 2:09 am, edited 1 time in total.

Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 1:07 am  (#3) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Installation

Requires GIMP to be installed.

From within GIMP find out where your plug-in directory is:

Edit>Preferences>Folders>Plug-ins

For Linux the plug-in directory will probably be ~/.gimp-2.8/plugins Copy the file symmetry_tile.py to this folder and make it "executable". To do this: select the plug-in from your file browser, click properties and check the box "Allow executable" under the permissions tab.

For Windows the plug-in directory will be probably be C:\Users\username\gimp-2.8\plug-ins. Copy the file symmetry_tile.py to this folder.

Restart GIMP to activate the plugin.
Usage

Select an area on an image using the rectangle select tool. Start the plug-in via Filters>Render>Symmetry Tile

You should see the following dialog.

Image

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


Last edited by Graechan on Sun Jul 06, 2014 2:16 am, edited 1 time in total.

Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 2:02 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Thanks Graechan for the links.

The plug-in should be on the menu as:

Filters->Render->Symmetry Tile

It will be greyed out unless there is an image open.


Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 2:20 am  (#5) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Thank you for the reply Elfnor I was amending my post as you made it

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


Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 2:37 am  (#6) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Oh and I almost forgot welcome to GimpChat Elfnor

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


Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 10:25 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
elfnor wrote:
By coincidence I've just finished a new plugin also based on the old Xaos Terrazzo. It works in GIMP 2.8.

This plug-in takes the selection from an image ("cell") and produces a new image according to one of the 17 plane symmetry groups . These are also known as wallpaper groups or plane crystallographic groups.

Basically it rotates and or flips copies of the cell, combines them to form a tile and then copies that tile to fill a new image.

I've just uploaded it to gimpscripts.

It can also be found on the symmetrytile repository on github under the user elfnor.
There are also example galleries avaliable, and more info on my github blog.

Sorry as a new user I can't give links.

Enjoy!


The results that I see on your website look a heck of a lot better then Multi-tile ever did. Why do you guys continue to want me to un-install GIMP 1.2.4? lol

I will try it out later when not so tired (work weekend mids; about to hit the sack). Thanks Elfnor. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Multitile - if anyone can change the code ?
PostPosted: Sun Jul 06, 2014 8:09 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I new it would not take long for you to notice this plugin Lyle, maybe Elfnor or someone could move it to it's own thread
original
Image
p3m1
Image

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 9:42 pm  (#9) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
elfnor wrote:
By coincidence I've just finished a new plugin also based on the old Xaos Terrazzo. It works in GIMP 2.8.
I've just uploaded it to gimpscripts.
Enjoy!

:welcome to GC and thanks for sharing the script. It's available here:
http://gimpscripts.com/2014/07/symmetry-tile/

The results I'm seeing from the script are excellent. :bigthup

Image

One suggestion is to check to see if there is a selection and if not, select all. If there is an alpha channel in the layer, perform "alpha to selection". This plug-in generates a warning error if there is no selection, so perhaps using these defaults would be a solution to that issue..

Image

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 10:00 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 10, 2013
Posts: 863
Just can not get results. :(
I tried over 7 times, changing settings, and all I get error messages.
I do not know what I might be doing wrong.
Finally tried the same image that the Graechan used in post # 8, and also received another error window.
Image
Thx all

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 10:37 pm  (#11) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Whether using select all or a rectangular selection care should be taken with setting the width and height settings,
they should be divisible by the image or selection size used (x2, or x3, x4 etc.),
Image
or the result may not come out, if your width and height are to big try scaling the image down first

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 10:41 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Interesting script yielding some beautiful results. Thanks a lot!

Image

when creating diagonal tiles [parallelograms], however, the seams are shown

Image


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 10:59 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Quote:
Just can not get results. :(
I tried over 7 times, changing settings, and all I get error messages.
I do not know what I might be doing wrong.
Finally tried the same image that the Graechan used in post # 8, and also received another error window.

Akros you must make a rectangular selection first or 'select-all'

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Sun Jul 06, 2014 11:03 pm  (#14) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
K1TesseraEna very impressive results especially the second one :yes

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 07, 2014 12:26 am  (#15) 
Offline
GimpChat Founder
User avatar

Joined: May 22, 2008
Posts: 5242
Location: Gimpville
Original
Image

Tiled & Enhanced
Image

Spherical emap
Image

Result
Image

_________________
“If you reach for the stars, you just might land on a decently sized hill.” - Stuart Hill


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 07, 2014 1:45 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12724
Location: Spain, Aragón
Thanks elfnor and GnuTux. That is a very nice script. :tyspin :coolthup
I tried it with a poster I did for summer season. :)


Attachments:
SymmetryTile.png
SymmetryTile.png [ 2.97 MiB | Viewed 1570 times ]

_________________
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 07, 2014 3:01 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jul 05, 2014
Posts: 8
Thanks everyone for trying this out and for the feedback.
Looks like I've got a few things to fix:

Graechan:
The height and width must be a multiple of the same number. I'll loook into this. I must admit, all my testing was with square images.

Akros:
Currently you must make a rectangular selection before running the plug-in. GnuTux's suggestion of changing the plug-in to use the alpha channel if there is no selection, is a good one. I've also not tested the plug-in on layered images etc. only on jpg, png imported directly.

Do you still have a problem if you leave the height and width at 500, and select a small (100 x 100) section of a jpg opened in GIMP, and then run the plug-in?

K1TesseraEna:
Seams in the images from non-rectangular cells.
I thought I fixed that, its rounding versus truncating floats to make integers, and whether to grow the selection before the copy and paste. I'll look at that.

Elfnor


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 07, 2014 3:19 am  (#18) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Elfnor I was trying to impress on people the need to be aware there is a connection between the selection size and the output size selected
but you have definitely brought your plugin to the right place for testing and constructive criticism

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 07, 2014 3:30 am  (#19) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
If your troubled by the transparent spaces try running RobA's 'Fill-Trans' until fix is made

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


Top
 Post subject: Re: Symmetry Tile
PostPosted: Mon Jul 07, 2014 6:34 am  (#20) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7759
Location: On the other side of this screen
Interesting tiler. Thank you elfnor. I went through all of the default presets and there are some good ones.
I have a couple patterns here I have made with it and one text example.
Image
Image
Image

_________________


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
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

No new posts Attachment(s) Create a Scrabble Tile Text (adapted from a Illustrator tut)

3

No new posts Attachment(s) GEGL Stained Glass Tile theory (concept not a plugin yet)

0



* Login  



Powered by phpBB3 © phpBB Group