It is currently Tue Jul 21, 2026 12:32 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: AI vibe coded GEGL plugins
PostPosted: Fri Apr 25, 2025 12:06 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Download the latest AI vibe coded GEGL plugins here

Windows Binaries
https://github.com/LinuxBeaver/LinuxBea ... indows.zip

Linux Binaries
https://github.com/LinuxBeaver/LinuxBea ... _linux.zip

Source Code
https://github.com/LinuxBeaver/LinuxBea ... e_code.zip

https://github.com/LinuxBeaver/AI_Vibe_ ... GL_Plugins

Grok 3 (X.com's AI) can make GEGL plugins using both pixel modifying math and gegl node chaining (what I do) below is the first public plugin GEGL plugin I vibe coded using grok https://en.wikipedia.org/wiki/Vibe_coding I manually modified it to make it better though

Image

Image

Location to put binaries

Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)

~/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins



Grok made most of this plugin using pixel modifying math NOT what I do with chaining existing GEGL ops. Feel free to share comments and thoughts about this. I introduced a new name space grok/lb: and the filter is located in filters>grok a new slot


Last edited by contrast_ on Wed May 07, 2025 2:42 am, edited 2 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Grok 3 makes GEGL plugins
PostPosted: Fri Apr 25, 2025 4:44 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Regarding my experience with Grok making GEGL plugins, 95% of the time or more it fails. Attached is a pic of 3 screenshots of plugins that never came to being because of how glitchy they were. Many more then that existed.


Note there is a weave plugin that isn't glitchy that grok gave me. I might release that soon once I get my PC organized.

Image


Top
 Post subject: Re: Grok 3 makes GEGL plugins
PostPosted: Fri Apr 25, 2025 10:00 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Today grok made several glitchy garbage plugins that barely work

Image


Top
 Post subject: Re: Grok 3 makes GEGL plugins
PostPosted: Sat Apr 26, 2025 3:34 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
The AI GEGL plugins updated. We now have a new one named Tetris tile cubes. Also presets broke on the original hawaiian patterns. Tough toenails, I had to do it to make it consistent.


Image

Image


Download both Tetris Cubes and Hawaiian Flowers here

Attachment:
LinuxBinaries.zip [31.58 KiB]
Downloaded 17575 times


Attachment:
WindowsBinaries.zip [167.34 KiB]
Downloaded 3201 times


Attachment:
source_code.zip [28.39 KiB]
Downloaded 3165 times


Location to put binaries

Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)

~/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins


They are now located in a new menu filters>AI GEGL

Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Sun Apr 27, 2025 3:02 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Grok made a new GEGL plugin that does a spiral starburst from 2 to 8 colors, in default 5. When the twist slider is at 0 it is a pure starburst

Image


Source code of all 3 AI generated GEGL plugins, this time no presets broke

Attachment:
WindowsBinaries.zip [201.37 KiB]
Downloaded 3501 times


Attachment:
LinuxBinaries.zip [40.67 KiB]
Downloaded 3249 times


Attachment:
source_code.zip [34.92 KiB]
Downloaded 3112 times


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Sun Apr 27, 2025 1:57 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16126
Thank you Contrast these look great! :)

Need to go to work right now though. But i will test them in the morning in Windows and let you know if Presets are still working.

_________________
Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Sun Apr 27, 2025 5:07 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Rod wrote:
Thank you Contrast these look great! :)

Need to go to work right now though. But i will test them in the morning in Windows and let you know if Presets are still working.


If you never tested you have nothing to worry about. The presets broke for hawaiin flowers but not any other plugin.

Also I have a new AI plugin coming soon that renders multi color confetti

Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Sun Apr 27, 2025 6:16 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Every new conversation I have with Grok and DeepSeek about GEGL plugin development starts out like this to set parameters.

Before we begin it is important to follow these rules. We are writing GEGL plugin for GIMP, you can learn how to write GEGL plugins at  https://github.com/GNOME/gegl/tree/master/operations/common . Our plugins name will be grok2.c and gegl:grok2 No code will ever come after the class key area   gegl_operation_class_set_keys(operation_class,
    "name",        "gegl:grok2",
    "title",       _("Windows 95 Desktop"),
    "reference-hash", "windows95geglfair3",
    "description", _("Renders a Windows 95-style desktop with a colored wallpaper and taskbar"),
    NULL);
}

#endif For example you will modify the name title and description of the class key area but nothing will come after the #endif or inbetween the  } When writing a GEGL plugin will you have a format like this #include "config.h"
#include <glib/gi18n-lib.h>
#include <gegl.h>
#include <gegl-plugin.h>

#ifdef GEGL_PROPERTIES

property_color(wallpaper_color, _("Wallpaper Color"), "0.0, 0.5, 0.5")
    description(_("Color of the desktop wallpaper (default is teal)"))

property_color(taskbar_color, _("Taskbar Color"), "0.75, 0.75, 0.75")
    description(_("Color of the taskbar (default is light gray)"))

#else

#define GEGL_OP_POINT_FILTER
#define GEGL_OP_NAME     grok2
#define GEGL_OP_C_SOURCE grok2.c always, the properties may be different ranging from property_double property_int property_seed and property_color ect.. but they will always be in this format.  Same with the #include libraries, there may be different ones but they will always be in that location. Now we will making a GEGL plugin for GIMP. Make a GEGL plugin that


That way you I don't waste limited queries on corrected known flaws it has.


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Mon Apr 28, 2025 9:00 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Image

The newest batch of AI generated GEGL plugins are here. No presets broke and I will do everything to prevent them from breaking. Six AI plugins exist, try the new ones.

Image

Image


Download all AI GEGL Plugins here and their source code. They obviously can co-exist with my normal plugins.

Attachment:
WindowsBinaries.zip [306.41 KiB]
Downloaded 3188 times


Attachment:
LinuxBinaries.zip [66.5 KiB]
Downloaded 3239 times


Attachment:
source_code.zip [66.28 KiB]
Downloaded 3022 times


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Wed Apr 30, 2025 3:49 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Download all AI plugins here. Including the new one "Gradients" The new AI plugin that renders 70 gradients in a huge drop down list and all gradients can be set between linear, radial, spiral, and square. And a alpha lock checkbox for gradients on text.

Image

Image

Image

Image

Image

Attachment:
LinuxBinaries.zip [98.86 KiB]
Downloaded 3172 times


Attachment:
WindowsBinaries.zip [385.63 KiB]
Downloaded 3972 times


Attachment:
source_code.tar.gz [42.19 KiB]
Downloaded 3150 times


Location to put binaries

Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Wed Apr 30, 2025 2:59 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
The gradient updated to have more features, which is the horizontal and vertical offset represented as X and Y. The faulty blend slider was removed and it is strongly suggested to use GIMP's built in blend mode switcher if you want to blend the gradient. Recommended blend modes are Overlay, HSL Color, LCh Color, LCh Hue and HSV Hue, but feel free to experiment with others.

Notice the Gradient in the first pic is blended with LCh Hue and has GEGL Saturation on top

Image
Image
Image
Image

I could add more gradients if I wanted but isn't 70 enough? i don't think its possible to make a gradient color picker with this format, if I did that it would have to be a new plugin, this is because the logic of this plugin is different and i'd have to make it where the user selects between 1-8 colors. ect..

Download all AI GEGL Plugins on their latest version here (includes gradients updates).

Attachment:
source_code.zip [87.75 KiB]
Downloaded 3091 times


Attachment:
LinuxBinaries.zip [99.96 KiB]
Downloaded 4298 times


Attachment:
WindowsBinaries.zip [386.82 KiB]
Downloaded 3211 times


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Thu May 01, 2025 6:30 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Plugins updated to include three new plugins made by AI (not me)

Vaporwave, makes a vaporwave/synthwave style wallpaper

Weave, makes 6 weave patterns with 3 colors to choose from.

Gradient FX, this one lets users apply 70 gradients with 5 different modes on a outline, glow or shadow as opposed to applying on a canvas.

Image
Image
Image

LOCATION TO PUT BINARIES


Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)

~/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins

Download the collection of AI plugins here

Attachment:
LinuxBinaries.zip [144.75 KiB]
Downloaded 3179 times

Attachment:
WindowsBinaries.zip [560.79 KiB]
Downloaded 8117 times

Attachment:
AI_plugins_source_code.zip [118.45 KiB]
Downloaded 3124 times


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Thu May 01, 2025 6:37 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Does anyone have a request for Grok? Post an image of a plugin you would want and I'll see if I can get Grok to create it or rewrite it in GEGL.


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Thu May 01, 2025 10:49 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2646
Location: Poland
I will take advantage of this opportunity to renew my request.
viewtopic.php?f=9&t=21636#p295990

Wallpaper group
https://en.wikipedia.org/wiki/Wallpaper_group

-----------------------------------------------------------------------------------

I would definitely also like to see elements of:
P&M Cosmos.py
viewtopic.php?f=9&t=19849

and the more down-to-earth:
arakne-path-shape-creator8.py
viewtopic.php?f=9&t=17044&start=20#p238555
(so many shapes).

I will limit myself to these wishes while waiting for spectacular effects.

_________________
Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Fri May 02, 2025 3:02 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2646
Location: Poland
The first association with the vaporwave plugin is that it can be a great complement to the TT random dowtown.py plugin.
viewtopic.php?f=9&t=21480

Unfortunately, this py plugin is only for Gimp-2.10.

So maybe more possibilities in Gegl, e.g. adding: buildings, trees, grass, river, road? :roll:

It would be much better if each element was created as a separate layer (but I don't know if it's even possible). :(

Image

Image

_________________
Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Wed May 07, 2025 2:37 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
Deep Seek made this one, this is Deep Seeks first GEGL plugin, the rest are Groks.

Image

Image

Image

Image

New update with new plugins, Custom Gradient, Fish Scales, Pattern Collection and Color Remover and a few different default settings. No presets/nde filters broke and I promise to do everything I can to prevent breakages

Download all vibe code plugins and source code for them here.

Attachment:
vibe_coded_windows.zip [806.75 KiB]
Downloaded 3102 times


Attachment:
vibe_coded_linux_binaries.zip [209.51 KiB]
Downloaded 3595 times


Attachment:
vibe_coded_source_code.zip [180.52 KiB]
Downloaded 3231 times



Please remember I know this is confusing but four gradient plugins exist due to technical limitations.

Gradient Collection (with 70 gradient presets but no custom color choices)

Gradient Collection fx (70 gradient presets for inner glow, outline and glow, but no custom color choices)

Custom Gradient (custom gradient the user makes)

Custom Gradient fx (custom gradient for innerglow, outline and glow)

I don't know how to make these just 1 or two plugins. I had to make it four separate.


Location to put binaries


Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)

~/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins

Enjoy! :bigthup


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Thu May 08, 2025 8:38 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2646
Location: Poland
Too bad you can't answer simple questions.
So why are you asking them?

_________________
Image


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Sat May 10, 2025 3:12 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
MareroQ wrote:
Too bad you can't answer simple questions.
So why are you asking them?


Is this about your request? I tried to get DeepSeek and Grok to vibe code the plugin you requested and it failed to do so and I gave up after 6 queries tries. I will see if Grok can generate more shape style landscapes and buildings other then just the vaporwave plugin.

I hope thats what you meant.


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Tue May 13, 2025 4:02 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
The AI plugin collection updated with 6 new plugins. You can download them by going to the first page of this thread or scrolling down to the bottom of this post and clicking on the download link. Many new plugins are inspired by Open Source Image Editor Pixelitor's existing filters. Grok was able to translate Pixelitor filters into GEGL plugins. One of the six plugins has like 40 patterns built into it. so technically it is many plugins in one. (Tri Colored Pattern) It is recommended to use the new frame plugin with my custom bevel plug-in or GIMP's official bevel filter.

Image

Image

Image

Image

Image

Download here

Windows Download

Linux Download

Source Code of all AI plugins only


LOCATION TO PUT BINARIES

Windows

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

Linux

~/.local/share/gegl-0.4/plug-ins

Linux (Flatpak includes Chromebook)

~/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins


Top
 Post subject: Re: AI vibe coded GEGL plugins
PostPosted: Wed May 14, 2025 4:52 am  (#20) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16126
Thanks for sharing the newest GEGL filters Beaver! :)

Great stuff. I actually tried using ChatGPT to create a GEGL filter to warp images. This is what it gave me to work with.

#include <math.h>
#include <gegl-plugin.h>
#include <gegl-operations.h>

typedef struct {
  gfloat amplitude;
  gfloat frequency;
} GeglProperties;

#define GEGL_OP_AREA_FILTER
#define GEGL_OP_C_FILE "gegl-op-sinewarp.c"

#include "gegl-op.h"

static gboolean
process (GeglOperation       *operation,
         GeglBuffer          *input,
         GeglBuffer          *output,
         const GeglRectangle *roi,
         gint                 level)
{
  GeglProperties *o = GEGL_PROPERTIES (operation);
  GeglRectangle extent = *roi;

  for (gint y = extent.y; y < extent.y + extent.height; ++y) {
    for (gint x = extent.x; x < extent.x + extent.width; ++x) {
      gfloat fx = (gfloat)x + o->amplitude * sinf(o->frequency * (gfloat)y);
      gfloat fy = (gfloat)y;

      GeglColor *color = gegl_buffer_get_pixel(input, GEGL_ABYSS_NONE, fx, fy, NULL);
      gegl_buffer_set_pixel(output, &GEGL_RECTANGLE(x, y, 1, 1), 0, color);
      g_object_unref(color);
    }
  }

  return TRUE;
}

static void
gegl_op_class_init (GeglOpClass *klass)
{
  GeglOperationClass       *operation_class = GEGL_OPERATION_CLASS (klass);
  GeglOperationFilterClass *filter_class    = GEGL_OPERATION_FILTER_CLASS (klass);

  operation_class->name        = "gegl:sine-warp";
  operation_class->categories  = "warp";
  gegl_operation_class_set_keys (operation_class,
    "name",        "gegl:sine-warp",
    "description", "Applies a sine wave horizontal warp to the image",
    NULL);

  filter_class->process = process;
}

static void
gegl_op_node_init (GeglOperation *operation)
{
  GeglProperties *o = GEGL_PROPERTIES (operation);
  o->amplitude = 20.0;
  o->frequency = 0.05;
}


I don't know much about coding GEGL plugins, but i got an op error ( no such op for typedef ) running this in GEGL Graph.

_________________
Image


Top
Post new topic Reply to topic  [ 40 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group