Sign up now! · Forgot password?
RSS/Atom feed Twitter

Spyrogimp plugin rewrite

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

17 of 20 messages available
Toggle history

Please log in to manage your subscriptions.

Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 15 Sep 14:14
  Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 16 Sep 19:34
   1539471306714.1118661016@boxbe 16 Oct 13:04
    CAFg2kp5FOnmCHZyvGE9=X8TTMV... 17 Oct 00:55
     1539737915184.1118661016@boxbe 05 Nov 18:07
      Spyrogimp plugin rewrite Joseph Bupe via gimp-developer-list 19 Oct 13:01
   Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 13 Oct 22:47
    Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 20 Oct 09:15
     Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 21 Oct 21:49
      Spyrogimp plugin rewrite Carol Spears via gimp-developer-list 22 Oct 18:14
      Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 04 Nov 18:15
       Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 04 Nov 20:37
    Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 14 Nov 16:54
     Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 18 Nov 19:57
      Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 18 Nov 20:24
       Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 24 Jan 00:23
        Spyrogimp plugin rewrite Jehan Pagès via gimp-developer-list 24 Jan 00:25
        Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 28 Jan 00:51
         Spyrogimp plugin rewrite Ell via gimp-developer-list 28 Jan 07:29
          Spyrogimp plugin rewrite Elad Shahar via gimp-developer-list 31 Jan 22:27
Elad Shahar via gimp-developer-list
2018-09-15 14:14:02 UTC (6 months ago)

Spyrogimp plugin rewrite

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

Feedback is welcome.

Elad

Jehan Pagès via gimp-developer-list
2018-09-16 19:34:06 UTC (6 months ago)

Spyrogimp plugin rewrite

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
Elad Shahar via gimp-developer-list
2018-10-13 22:47:32 UTC (5 months ago)

Spyrogimp plugin rewrite

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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 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

Joseph Bupe via gimp-developer-list
2018-10-19 13:01:30 UTC (5 months ago)

Spyrogimp plugin rewrite

On Wed, 17 Oct 2018 at 02:57, Elad Shahar via gimp-developer-list < gimp-developer-list@gnome.org> wrote:

[image: Boxbe] This message is eligible for Automatic Cleanup! (gimp-developer-list@gnome.org) Add cleanup rule

| More info

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 or
different
tools .
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

Hi Elad,

I would say if this really requires porting to GEGL. But, you probably need to consult with other developers, especially Ell.What is interesting though is if this could be to make it more interact.

By the way, the capability for simple drawings would be really nice to have too.

Thanks for your efforts and all the best.

Joseph

Jehan Pagès via gimp-developer-list
2018-10-20 09:15:13 UTC (5 months ago)

Spyrogimp plugin rewrite

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

For the record, I saw the email and will review (and merge if no problems) your code. I have had not much time this week, but hopefully it will be better next week.
For git authorship, do you confirm I should use the name and email as used on this mailing list?

As for the GEGL operation discussion, I definitely see how cool it would be. But if you say it would remove some features, of course we could discuss how to make the best out of both worlds. I don't know enough about this plug-in yet to be 100% relevant though. :-)

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
.
* 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?

You are more than welcome to contribute to the manual too. The source is there: https://gitlab.gnome.org/GNOME/gimp-help

Same as we welcome patches for GIMP, we also do welcome patches for the manual. :-)

Jehan

Thanks!
Elad

On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès 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

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Elad Shahar via gimp-developer-list
2018-10-21 21:49:15 UTC (5 months ago)

Spyrogimp plugin rewrite

Hi Jehan,

For authorship, you can use the name and email as used on this mailing list.

On Sat, Oct 20, 2018 at 12:15 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

For the record, I saw the email and will review (and merge if no problems) your code. I have had not much time this week, but hopefully it will be better next week.
For git authorship, do you confirm I should use the name and email as used on this mailing list?

As for the GEGL operation discussion, I definitely see how cool it would be.
But if you say it would remove some features, of course we could discuss how to make the best out of both worlds. I don't know enough about this plug-in yet to be 100% relevant though. :-)

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
.
* 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?

You are more than welcome to contribute to the manual too. The source is there: https://gitlab.gnome.org/GNOME/gimp-help

Same as we welcome patches for GIMP, we also do welcome patches for the manual. :-)

Jehan

Thanks!
Elad

On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès 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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

Carol Spears via gimp-developer-list
2018-10-22 18:14:32 UTC (5 months ago)

Spyrogimp plugin rewrite

I just wanted to say that there are a lot of meanings to the phrase "unmonitered email" and, I have been busy with other things and I am sorry I missed this. Looks like it might have picked up some spam.

On 10/21/18, Elad Shahar via gimp-developer-list wrote:

Hi Jehan,

For authorship, you can use the name and email as used on this mailing list.

On Sat, Oct 20, 2018 at 12:15 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

For the record, I saw the email and will review (and merge if no problems) your code. I have had not much time this week, but hopefully it will be better next week.
For git authorship, do you confirm I should use the name and email as used on this mailing list?

As for the GEGL operation discussion, I definitely see how cool it would be.
But if you say it would remove some features, of course we could discuss how to make the best out of both worlds. I don't know enough about this plug-in yet to be 100% relevant though. :-)

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
.
* 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?

You are more than welcome to contribute to the manual too. The source is there: https://gitlab.gnome.org/GNOME/gimp-help

Same as we welcome patches for GIMP, we also do welcome patches for the manual. :-)

Jehan

Thanks!
Elad

On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès 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

--
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

Jehan Pagès via gimp-developer-list
2018-11-04 18:15:34 UTC (4 months ago)

Spyrogimp plugin rewrite

Hi Elad,

I've had my mind elsewhere so haven't reviewed yet, but noticed a new GEGL operation named "spyrograph" was added with your authorship. Does it do everything your new plug-in does?

I guess it is probably not worth including the new plug-in if it makes it to GEGL as a new operation instead. :-)

Jehan

On Sun, Oct 21, 2018 at 11:49 PM Elad Shahar wrote:

Hi Jehan,

For authorship, you can use the name and email as used on this mailing list.

On Sat, Oct 20, 2018 at 12:15 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

For the record, I saw the email and will review (and merge if no problems) your code. I have had not much time this week, but hopefully it will be better next week.
For git authorship, do you confirm I should use the name and email as used on this mailing list?

As for the GEGL operation discussion, I definitely see how cool it would be.
But if you say it would remove some features, of course we could discuss how to make the best out of both worlds. I don't know enough about this plug-in yet to be 100% relevant though. :-)

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
.
* 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?

You are more than welcome to contribute to the manual too. The source is there: https://gitlab.gnome.org/GNOME/gimp-help

Same as we welcome patches for GIMP, we also do welcome patches for the manual. :-)

Jehan

Thanks!
Elad

On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès 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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Elad Shahar via gimp-developer-list
2018-11-04 20:37:38 UTC (4 months ago)

Spyrogimp plugin rewrite

Hi Jehan,

The GEGL spyrograph operation is very basic, and untested from gimp. I intend to keep developing it, since I thought that on-canvas interaction would be very user-friendly. However, I am not sure I will be able to get it work in a way that makes the on-canvas interaction interactive enough.

Even if I do, it will *not *do what the Python plugin can do. It will be much more basic.

Perhaps if/when I finish the GEGL operation, you might consider the GEGL operation not worth including (which is fine, its a learning experience for me).
But I am for including the Python plug in.

Elad

On Sun, Nov 4, 2018 at 8:15 PM Jehan Pagès wrote:

Hi Elad,

I've had my mind elsewhere so haven't reviewed yet, but noticed a new GEGL operation named "spyrograph" was added with your authorship. Does it do everything your new plug-in does?

I guess it is probably not worth including the new plug-in if it makes it to GEGL as a new operation instead. :-)

Jehan

On Sun, Oct 21, 2018 at 11:49 PM Elad Shahar wrote:

Hi Jehan,

For authorship, you can use the name and email as used on this mailing list.

On Sat, Oct 20, 2018 at 12:15 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

For the record, I saw the email and will review (and merge if no problems) your code. I have had not much time this week, but hopefully it will be better next week.
For git authorship, do you confirm I should use the name and email as used on this mailing list?

As for the GEGL operation discussion, I definitely see how cool it would be.
But if you say it would remove some features, of course we could discuss how to make the best out of both worlds. I don't know enough about this plug-in yet to be 100% relevant though. :-)

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
.
* 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?

You are more than welcome to contribute to the manual too. The source is there: https://gitlab.gnome.org/GNOME/gimp-help

Same as we welcome patches for GIMP, we also do welcome patches for the manual. :-)

Jehan

Thanks!
Elad

On Sun, Sep 16, 2018 at 10:34 PM Jehan Pagès < jehan.marmottard@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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

Jehan Pagès via gimp-developer-list
2018-11-14 16:54:40 UTC (4 months ago)

Spyrogimp plugin rewrite

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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 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

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Elad Shahar via gimp-developer-list
2018-11-18 19:57:51 UTC (4 months ago)

Spyrogimp plugin rewrite

Hi Jehan,

Thanks for the review! The new version is here

Here is what I have done:

* The problem with the background color happens only in some themes, when using a notebook where the tabs are set to be invisible. That was what I was using.
I did not manage to make the odd background color go away, so I just changed the UI to use a notebook with the tabs visible. So this should be solved.

* As for the clone issue, I did not manage to fix the issue, so I just removed "Clone" from the list of tools.

Thanks! Elad

On Wed, Nov 14, 2018 at 6:54 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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 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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

Jehan Pagès via gimp-developer-list
2018-11-18 20:24:59 UTC (4 months ago)

Spyrogimp plugin rewrite

Hi!

On Sun, Nov 18, 2018 at 8:58 PM Elad Shahar wrote:

Hi Jehan,

Thanks for the review! The new version is here

Here is what I have done:

* The problem with the background color happens only in some themes, when using a notebook where the tabs are set to be invisible. That was what I was using.
I did not manage to make the odd background color go away, so I just changed the UI to use a notebook with the tabs visible. So this should be solved.

* As for the clone issue, I did not manage to fix the issue, so I just removed "Clone" from the list of tools.

Sad! The clone source seemed like a cool feature. I'll see if I can fix this myself then. :-)

Jehan

Thanks!
Elad

On Wed, Nov 14, 2018 at 6:54 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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 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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Jehan Pagès via gimp-developer-list
2019-01-24 00:23:36 UTC (about 1 month ago)

Spyrogimp plugin rewrite

Hi Elad,

Sorry for the delay before inclusion. I must admit I completely forgot (just while doing something else tonight, I suddenly remembered this proposal for an updated Spyrogimp!).

So I took some time tonight to review again, then finally pushed your plug-in.
I just did some trailing whitespace cleaning, and also simply renamed it to "plug-in-spyrogimp", basically dropping the "Plus" part. I understand that the "plus" was about saying it is another more advanced plug-in, but I prefer to think of it as just a new version of the same plug-in (even though a total rewrite), so that we can later on just drop the old version (maybe when moving to GIMP 3?). When this happens, if there is only one plug-in and it is named "plus", it makes not much sense. I guess. :-)

Anyway here is the commit for the initial code you provided, as-is: https://gitlab.gnome.org/GNOME/gimp/commit/a702c6a3270485e1320521c89499e1b3270477d4 And here my commit with the slight changes: https://gitlab.gnome.org/GNOME/gimp/commit/e91028df2f9669fe2d98f05a969692695a62003f

I hope you will stay around for any fixes which might be needed later on. :-)
Do you have a GNOME gitlab account?

Jehan

On Sun, Nov 18, 2018 at 9:24 PM Jehan Pagès wrote:

Hi!

On Sun, Nov 18, 2018 at 8:58 PM Elad Shahar wrote:

Hi Jehan,

Thanks for the review! The new version is here

Here is what I have done:

* The problem with the background color happens only in some themes, when using a notebook where the tabs are set to be invisible. That was what I was using.
I did not manage to make the odd background color go away, so I just changed the UI to use a notebook with the tabs visible. So this should be solved.

* As for the clone issue, I did not manage to fix the issue, so I just removed "Clone" from the list of tools.

Sad! The clone source seemed like a cool feature. I'll see if I can fix this myself then. :-)

Jehan

Thanks!
Elad

On Wed, Nov 14, 2018 at 6:54 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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.marmottard@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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Jehan Pagès via gimp-developer-list
2019-01-24 00:25:38 UTC (about 1 month ago)

Spyrogimp plugin rewrite

P.S.: As you can guess, I never took the time to actually look into re-implementing the clone as an available tool in your plug-in. That was a cool feature, but I don't think if I will make the time to add it (as I don't need it other than it's cool :P). So feel free to just add it back if ever you manage to fix the issue previously raised. :-)

On Thu, Jan 24, 2019 at 1:23 AM Jehan Pagès wrote:

Hi Elad,

Sorry for the delay before inclusion. I must admit I completely forgot (just while doing something else tonight, I suddenly remembered this proposal for an updated Spyrogimp!).

So I took some time tonight to review again, then finally pushed your plug-in.
I just did some trailing whitespace cleaning, and also simply renamed it to "plug-in-spyrogimp", basically dropping the "Plus" part. I understand that the "plus" was about saying it is another more advanced plug-in, but I prefer to think of it as just a new version of the same plug-in (even though a total rewrite), so that we can later on just drop the old version (maybe when moving to GIMP 3?). When this happens, if there is only one plug-in and it is named "plus", it makes not much sense. I guess. :-)

Anyway here is the commit for the initial code you provided, as-is: https://gitlab.gnome.org/GNOME/gimp/commit/a702c6a3270485e1320521c89499e1b3270477d4 And here my commit with the slight changes: https://gitlab.gnome.org/GNOME/gimp/commit/e91028df2f9669fe2d98f05a969692695a62003f

I hope you will stay around for any fixes which might be needed later on. :-)
Do you have a GNOME gitlab account?

Jehan

On Sun, Nov 18, 2018 at 9:24 PM Jehan Pagès wrote:

Hi!

On Sun, Nov 18, 2018 at 8:58 PM Elad Shahar wrote:

Hi Jehan,

Thanks for the review! The new version is here

Here is what I have done:

* The problem with the background color happens only in some themes, when using a notebook where the tabs are set to be invisible. That was what I was using.
I did not manage to make the odd background color go away, so I just changed the UI to use a notebook with the tabs visible. So this should be solved.

* As for the clone issue, I did not manage to fix the issue, so I just removed "Clone" from the list of tools.

Sad! The clone source seemed like a cool feature. I'll see if I can fix this myself then. :-)

Jehan

Thanks!
Elad

On Wed, Nov 14, 2018 at 6:54 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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.marmottard@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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot
Elad Shahar via gimp-developer-list
2019-01-28 00:51:25 UTC (about 1 month ago)

Spyrogimp plugin rewrite

Hi Jehan,

Thanks for committing the code! All your changes made sense to me. I'm pretty excited.

I will stay around. I might add some features and documentation to this plugin.
My gitlab account name is "eladsha".

Thanks!!

On Thu, Jan 24, 2019 at 2:23 AM Jehan Pagès wrote:

Hi Elad,

Sorry for the delay before inclusion. I must admit I completely forgot (just while doing something else tonight, I suddenly remembered this proposal for an updated Spyrogimp!).

So I took some time tonight to review again, then finally pushed your plug-in.
I just did some trailing whitespace cleaning, and also simply renamed it to "plug-in-spyrogimp", basically dropping the "Plus" part. I understand that the "plus" was about saying it is another more advanced plug-in, but I prefer to think of it as just a new version of the same plug-in (even though a total rewrite), so that we can later on just drop the old version (maybe when moving to GIMP 3?). When this happens, if there is only one plug-in and it is named "plus", it makes not much sense. I guess. :-)

Anyway here is the commit for the initial code you provided, as-is: https://gitlab.gnome.org/GNOME/gimp/commit/a702c6a3270485e1320521c89499e1b3270477d4 And here my commit with the slight changes: https://gitlab.gnome.org/GNOME/gimp/commit/e91028df2f9669fe2d98f05a969692695a62003f

I hope you will stay around for any fixes which might be needed later on. :-)
Do you have a GNOME gitlab account?

Jehan

On Sun, Nov 18, 2018 at 9:24 PM Jehan Pagès wrote:

Hi!

On Sun, Nov 18, 2018 at 8:58 PM Elad Shahar wrote:

Hi Jehan,

Thanks for the review! The new version is here

Here is what I have done:

* The problem with the background color happens only in some themes, when using a notebook where the tabs are set to be invisible. That was what I was using.
I did not manage to make the odd background color go away, so I just changed the UI to use a notebook with the tabs visible. So this should be solved.

* As for the clone issue, I did not manage to fix the issue, so I just removed "Clone" from the list of tools.

Sad! The clone source seemed like a cool feature. I'll see if I can fix this myself then. :-)

Jehan

Thanks!
Elad

On Wed, Nov 14, 2018 at 6:54 PM Jehan Pagès wrote:

Hi!

On Sun, Oct 14, 2018 at 12:47 AM Elad Shahar wrote:

Hi Jehan,

Thanks for your feedback! The new version is here
.

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
.
* 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.

So I finally reviewed.

* The background color of self.pattern_notebook is always white, which is especially a problem with darker themes. Is it only for me? Don't you have this issue too? I had a look and am unsure where this comes from though (maybe it's a problem in the theme, but I have no idea).

* I had once a warning about broken undo when setting "Clone" (then I had a warning about no clone source, but this one is normal) then canceling with Esc.

Apart from these, it looks good here. :-)

Jehan

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.marmottard@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

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

--
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot

Ell via gimp-developer-list
2019-01-28 07:29:39 UTC (about 1 month ago)

Spyrogimp plugin rewrite

On 1/27/19 7:51 PM, Elad Shahar via gimp-developer-list wrote:

Hi Jehan,

Thanks for committing the code! All your changes made sense to me. I'm pretty excited.

I will stay around. I might add some features and documentation to this plugin.
My gitlab account name is "eladsha".

Thanks!!

Hi Elad, thanks for the awesome plug-in!

Just one comment: none of the UI strings are marked for translation. Could you please mark the necessary ones, and add the file to po-python/POTFILES.in? Just look at how the other Python plug-ins do it.

Thanks.

-- Ell

Elad Shahar via gimp-developer-list
2019-01-31 22:27:19 UTC (about 1 month ago)

Spyrogimp plugin rewrite

Hi Ell,

Thanks for your suggestion. I submitted a patch to support translation. Its attached here:
https://gitlab.gnome.org/GNOME/gimp/issues/2894

On Mon, Jan 28, 2019 at 9:29 AM Ell via gimp-developer-list < gimp-developer-list@gnome.org> wrote:

On 1/27/19 7:51 PM, Elad Shahar via gimp-developer-list wrote:

Hi Jehan,

Thanks for committing the code! All your changes made sense to me. I'm pretty excited.

I will stay around. I might add some features and documentation to this plugin.
My gitlab account name is "eladsha".

Thanks!!

Hi Elad, thanks for the awesome plug-in!

Just one comment: none of the UI strings are marked for translation. Could you please mark the necessary ones, and add the file to po-python/POTFILES.in? Just look at how the other Python plug-ins do it.

Thanks.

-- Ell
_______________________________________________ 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