Joseph, thanks for the encouragement. I am looking into implementing this as a gegl operation, but not sure yet I would be able to do it.
Initially, I viewed Spyrogimp as similar to the Gfig plugin, i.e., mainly as a tool for creating complex paths. In the "Porting filters to GEGL" webpage, Gfig appears as "Doesn't need porting". The other part of Spyrogimp is rendering the complex path with different gimp tools, which produces interesting results when using different modes <https://www.dropbox.com/s/bsun48sdc4r9u1s/mode_examples.png?dl=0> or different tools <https://www.dropbox.com/s/xloekly3aqremw3/tool_examples.png?dl=0>. I am not sure how that would be possible as a gegl operation. On the other hand, a Spyrograph gegl operation with on-canvas interaction would be cool, even if only supporting simple drawing primitives. I might do that, but that will do only part of the what the Python plugin does. Is my understanding correct? Elad On Sun, Oct 14, 2018 at 11:31 AM Joseph Bupe <joseph.b...@gmail.com> wrote: > Hi Elad. > > This is a very interesting feature for GIMP, but as Jehan said earlier, it > would be better to have it as a gegl operation to maximize user experience. > > Keep it up 👍 > > On Sun, 14 Oct 2018 at 00:54, Elad Shahar via gimp-developer-list < > gimp-developer-list@gnome.org> wrote: > >> [image: Boxbe] <https://www.boxbe.com/overview> This message is eligible >> for Automatic Cleanup! (gimp-developer-list@gnome.org) Add cleanup rule >> <https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Fkey%3DRFkmMXZ7YCK6eE1m92prIhNBAvdK85Xh2W%252B26hSXlsI%253D%26token%3DEYN4zOhQpZozvf2pqAURksrmxEY0ldjahhBBVnd85Zb6HDZJxpKysAZ3eBEuc59pWCyTax2vLi%252BK%252F0HHOf%252FIa%252FRm53Jo%252FF1A%252FkbFPkI3jCGDYlVHqiGZ%252B3T0pxt5bE%252FIvxNPLqH4zCg1YxwvGmaDNe8xcuCMj6ib&tc_serial=44135215206&tc_rand=165898300&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> >> | More info >> <http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=44135215206&tc_rand=165898300&utm_source=stf&utm_medium=email&utm_campaign=ANNO_CLEANUP_ADD&utm_content=001> >> Hi Jehan, >> >> Thanks for your feedback! >> The new version is here >> <https://www.dropbox.com/s/r1qfmk4r2oc3off/spyro_plus.py?dl=0> . >> >> Here is what I have done: >> >> * I made "Esc" close the dialog (and cancel the pattern). >> * The issue with the broken icon was part of a larger issue that made the >> plugin look different than other plugins. This was resolved by using >> gimpui.py >> * I added a non-interactive API. >> * I made the dialog less tall, by grouping parameters in notebook tabs. >> >> In addition: >> >> * Using the "selection" shape now draws multiple shapes - if several paths >> were generated from the selection-to-path conversion. >> * Several new multi-sided shapes were added as fixed rings, with >> additional >> options. >> These produce drawings similar to many guilloche patterns. Examples for >> the new shapes are here >> <https://www.dropbox.com/s/6ae238njoafnqe7/example.png?dl=0>. >> * I added "long-gradient" support, that spreads across the entire pattern. >> This was available in the previous spyrogimp.scm, and produces nice >> results which are difficult to obtain when trying to tune the gradient >> from >> tool settings. >> * Improved the speed of incremental drawing by using gobject.idle_add >> instead of timeouts. >> >> I'd be glad to fix any other issues. >> >> If the plugin is indeed updated in the repository, could I write >> documentation for the manual? >> >> Thanks! >> Elad >> >> On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès <jehan.marmott...@gmail.com> >> wrote: >> >> > Hi Elad, >> > >> > On Sat, Sep 15, 2018 at 4:14 PM Elad Shahar via gimp-developer-list < >> > gimp-developer-list@gnome.org> wrote: >> > >> >> Hi, >> >> >> >> Long ago, I have written a Spyrogimp plugin in scheme. The plugin is >> >> currently included in gimp (under Filters -> Render -> Spyrogimp). Now >> I >> >> have done a rewrite in python which I hope is a big improvement: >> >> >> >> * It provides immediate feedback, by incremental drawing to a temporary >> >> layer. >> >> * Supports using more tools to draw the pattern (e.g. stroke). >> >> * You can use a non-rectangular selection to serve as the shape of the >> >> "fixed ring". This is done by converting the selection to a path. If >> the >> >> path has more than one stroke, then a pattern is drawn only for one of >> >> them. ( I might improve that in the near future). >> >> * There is an additional way to specify the pattern, that is compatible >> >> with the notation in the toy kit Spirograph manuals. >> >> * Lots of tooltips >> >> >> >> If you want to try it, you can download it here: >> >> https://www.dropbox.com/s/r2t5o4n4kyvtkmi/spyro.py?dl=0 >> > >> > >> > That's a cool update, and we could replace the old spyro by the new one >> > (or on 2.10 at least deprecate the old one and hide it from menus but >> leave >> > it alongside for the PDB API). >> > I wonder if this could not be a GEGL operation also by the way, rather >> > than a plug-in. >> > >> > Feedback is welcome. >> >> >> > >> > * Would be nice that hitting "Esc" close the dialog (and cancel the >> > pattern). >> > * On my desktop (GNOME on Fedora 28), the dialog shows a broken icon. >> > * The dialog is much too high. On my screen, part of it is out of screen >> > (the buttons in particular) so I need to use the Super key + left mouse >> > click trick to move the window. It would be nice to rearrange the >> buttons >> > differently or hide a scrollbar. >> > * Your new plug-in doesn't provide a non-interactive API as the old one >> > used to. I think this would be quite needed to be able to replace the >> old >> > plug-in correctly. >> > >> > Apart from these, that is a really cool plug-in. I would update the >> > repository with this new plug-in once these few points are fixed. :-) >> > If you answer by email, make sure to name me so that I don't miss the >> > email (I have filters allowing me to see when I am named so that I don't >> > miss mailing list emails targeted at me). >> > Thanks! >> > >> > Jehan >> > >> > >> >> >> >> Elad >> >> _______________________________________________ >> >> gimp-developer-list mailing list >> >> List address: gimp-developer-list@gnome.org >> >> List membership: >> >> https://mail.gnome.org/mailman/listinfo/gimp-developer-list >> >> List archives: https://mail.gnome.org/archives/gimp-developer-list >> >> >> > >> > >> > -- >> > ZeMarmot open animation film >> > http://film.zemarmot.net >> > Liberapay: https://liberapay.com/ZeMarmot/ >> > Patreon: https://patreon.com/zemarmot >> > Tipeee: https://www.tipeee.com/zemarmot >> > >> _______________________________________________ >> gimp-developer-list mailing list >> List address: gimp-developer-list@gnome.org >> List membership: >> https://mail.gnome.org/mailman/listinfo/gimp-developer-list >> List archives: https://mail.gnome.org/archives/gimp-developer-list >> > _______________________________________________ gimp-developer-list mailing list List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list