GIMP Chat http://gimpchat.com/ |
|
GEGL Equal Pie slices plugin http://gimpchat.com/viewtopic.php?f=9&t=20497 |
Page 1 of 1 |
Author: | contrast_ [ Tue Aug 29, 2023 2:29 pm ] |
Post subject: | GEGL Equal Pie slices plugin |
Download Windows and Linux binaries and code here. https://github.com/LinuxBeaver/Gimp_Plu ... r/releases Render Equal Pie Slices with this Gimp plugin. Three pieces if the minumum and twelve is the max. Users have the option to grow, rotate and recolor the divider. Please note, in default this plugin is a four cornered structure that is non-pie like. Rotating and adding dividers makes it looks like pie. This should NOT be confused with a "pie chart" plugin as all pie slices are equal and cannot be made unequal. Example of the plugin in action below Plugin Manual work with plugin End Result Another Preview of the plugin LOCATION TO PUT BINARIES (.so or .dll) they do not go in the normal plugins folder. Windows C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins Linux /home/(USERNAME)/.local/share/gegl-0.4/plug-ins Linux (Flatpak includes Chromebook) /home/(USERNAME)/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins [b] Then Restart Gimp and go to GEGL Operations to find the plugins. Its name is "Pie Divider" If you use Gimp 2.99.16+ you will find them in the menu under filters>render>fun This is only in the menu of 2.99.16+, 2.10 users go to GEGL Operations and look for "Pie Divider". I choose to put all my rendering plugins under fun, though it might be changed to something else soon if more people complain. |
Author: | PixLab [ Wed Aug 30, 2023 12:25 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
Wowww, now you are able to do filter to draw lines. Does it mean, if you continue on this path, will you be able to do triangle, square, hexagon, pentagon, stars, circle, etc... and so on? Because that would be a "revolution" in the GIMP software, that's the thing that all beginners are complaining, or people coming from the other software, that GIMP does not have tool to made shapes in just a click/tool/filter visible directly on the canvas... A question about that "Equal Pi", why do you limit the number of lines to 12? 15 or 30 would be a better number for limitation, because with a 12 limitation it will be hard to do everything in relation with 360 degrees (for example 45 or 90 degrees), 15 on the other hand is just fine as a minimum, a bit like the Ctrl+Shift when drawing, it does 15 degrees constrain Symmetry Paint limit at 100 |
Author: | contrast_ [ Wed Aug 30, 2023 7:18 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
PixLab wrote: :wow Wowww, now you are able to do filter to draw lines. Does it mean, if you continue on this path, will you be able to do triangle, square, hexagon, pentagon, stars, circle, etc... and so on? Because that would be a "revolution" in the GIMP software, that's the thing that all beginners are complaining, or people coming from the other software, that GIMP does not have tool to made shapes in just a click/tool/filter visible directly on the canvas... A question about that "Equal Pi", why do you limit the number of lines to 12? 15 or 30 would be a better number for limitation, because with a 12 limitation it will be hard to do everything in relation with 360 degrees (for example 45 or 90 degrees), 15 on the other hand is just fine as a minimum, a bit like the Ctrl+Shift when drawing, it does 15 degrees constrain Symmetry Paint limit at 100 I'm sorry to disappoint but this plugin is based on Gimp's Kaleidoscope filter with 12 being the limit of blind segments. Everything internally this plugin is limited Kaleidoscope AKA gegl:mirrors. I think what you want is possible but it would involve a mathematician and c programmers help. I will study more to see if I can get GEGL to make separators. Though I am doubtful. It would have to be based on an existing filter. |
Author: | PixLab [ Wed Aug 30, 2023 10:15 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
contrast_ wrote: I'm sorry to disappoint but this plugin is based on Gimp's Kaleidoscope filter with 12 being the limit of blind segments. Everything internally this plugin is limited Kaleidoscope AKA gegl:mirrors. I think what you want is possible but it would involve a mathematician and c programmers help. I will study more to see if I can get GEGL to make separators. Though I am doubtful. It would have to be based on an existing filter. Ohhh Ok, now I understand as I had to use the Kaleidoscope to draw some shapes On a side note, I need to get back to it, it's a very interesting tool a bit complex, but can gives very good results/surprises. Thank you for the reminder of this filter In all cases, thank you so much for all what you are doing Attachment: screenshot_20230831-111312.jpg [ 231.55 KiB | Viewed 6917 times ] Attachment: screenshot_20230831-112110.jpg [ 170.33 KiB | Viewed 6917 times ] Attachment: screenshot_20230831-112639.jpg [ 170.33 KiB | Viewed 6909 times ] |
Author: | contrast_ [ Wed Aug 30, 2023 10:48 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
PixLab wrote: contrast_ wrote: I'm sorry to disappoint but this plugin is based on Gimp's Kaleidoscope filter with 12 being the limit of blind segments. Everything internally this plugin is limited Kaleidoscope AKA gegl:mirrors. I think what you want is possible but it would involve a mathematician and c programmers help. I will study more to see if I can get GEGL to make separators. Though I am doubtful. It would have to be based on an existing filter. Ohhh Ok, now I understand as I had to use the Kaleidoscope to draw some shapes On a side note, I need to get back to it, it's a very interesting tool a bit complex, but can gives very good results/surprises. Thank you for the reminder of this filter In all cases, thank you so much for all what you are doing Attachment: screenshot_20230831-111312.jpg Attachment: screenshot_20230831-112110.jpg Attachment: screenshot_20230831-112639.jpg I can easily make a filter that renders shapes like that. It can also include a drop down list to choose between triangle, star, octagon. ect... based on that and a outline checkbox. Want me to do it? |
Author: | PixLab [ Wed Aug 30, 2023 10:50 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
contrast_ wrote: I can easily make a filter that renders shapes like that. It can also include a drop down list to choose between triangle, star, octagon. ect... based on that and a outline checkbox. Want me to do it? May I say Yeees! |
Author: | contrast_ [ Wed Aug 30, 2023 10:57 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
Code: Select all src aux=[ color value=#ffffff ] crop |
Author: | contrast_ [ Wed Aug 30, 2023 10:59 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
PixLab wrote: contrast_ wrote: I can easily make a filter that renders shapes like that. It can also include a drop down list to choose between triangle, star, octagon. ect... based on that and a outline checkbox. Want me to do it? May I say Yeees! okay, just know it is impossible for all the shapes to be the same size. I'll do my best though. |
Author: | PixLab [ Wed Aug 30, 2023 11:15 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
Wow screenshots look super Out of context: I saw "invert-transparency" in the code, I was not aware that GEGL can invert opaque <> Transparency... I don't recall how many times, I saw this question in forums or reddit, or whatnot, that is something that would be a big plus+ in GIMP like in the menu Layers > Transparency > Invert IMO, this will simplify a lot of thing. I'm thinking to make a feature request to the GIMP team... Quote: okay, just know it is impossible for all the shapes to be the same size. I'll do my best though. No worries it will be what it will be anyway take all your time Again thank you so much contrast_ |
Author: | contrast_ [ Wed Aug 30, 2023 11:56 pm ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
PixLab wrote: Wow screenshots look super Out of context: I saw "invert-transparency" in the code, I was not aware that GEGL can invert opaque <> Transparency... I don't recall how many times, I saw this question in forums or reddit, or whatnot, that is something that would be a big plus+ in GIMP like in the menu Layers > Transparency > Invert IMO, this will simplify a lot of thing. I'm thinking to make a feature request to the GIMP team... Quote: okay, just know it is impossible for all the shapes to be the same size. I'll do my best though. No worries it will be what it will be anyway take all your time Again thank you so much contrast_ invert transparency is a plugin of mine that ships with cutout https://github.com/LinuxBeaver/GEGL-Cut ... t/releases You have thanked me several times and you are welcome. |
Author: | dinasset [ Thu Aug 31, 2023 1:17 am ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
Patrice, I assume you are enjoying also G'MIC/Samj/Draw a Polygon with many options. |
Author: | PixLab [ Thu Aug 31, 2023 8:49 am ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
Hi Diego, dinasset wrote: Patrice, I assume you are enjoying also G'MIC/Samj/Draw a Polygon with many options. Shame on me, I forgot about it. The thing is I draw all my polygons, stars, etc... with the symmetry paint as it takes only 2 clicks, it's straight forward. In all cases, thanks for the reminder, a quick play with it Attachment: Untitled54.png [ 77.55 KiB | Viewed 6732 times ] |
Author: | PixLab [ Thu Aug 31, 2023 9:33 am ] |
Post subject: | Re: GEGL Equal Pie slices plugin |
contrast_ wrote: invert transparency is a plugin of mine that ships with cutout https://github.com/LinuxBeaver/GEGL-Cut ... t/releases You have thanked me several times and you are welcome. Ah, yes! Indeed, I did not pay attention, invert transparency is in the GEGL operation, very nice, and it respect the level of transparency/opacity Do you mind if I make a feature request to the GIMP team to include it officially in GIMP? |
Page 1 of 1 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |