Rays

Painting funny rays above any layer or make animations with rays.
Example:

AttachmentSize
werdn-rays.scm17.79 KB

Comments

Neat. Comment.

Neat!

A couple of comments:
Rather than registering the script-fu to
"/Werdn/Rays animation"
how about "/Filters/Werdn/Rays animation"".

There are a couple of deprecated procedural calls and constants:

Use: NORMAL-MODE)))
Deprecated: (car (gimp-layer-new img width height RGBA-IMAGE "Rays" 100 NORMAL)))
----
Use: (gimp-edit-bucket-fill
Deprecated: (gimp-bucket-fill
----
Use: ((name (car (gimp-drawable-get-name layer-current))))
Deprecated: ((name (car (gimp-layer-get-name layer-current))))
----
Use: (gimp-drawable-set-name layer-union name))))
Deprecated: (gimp-layer-set-name layer-union name))))
----

Start gimp using --pdb-compat-mode warn and you'll get warning messages. Start like: gimp-2.6 -s --pdb-compat-mode warn %U

Or Help > Procedural Browser text will show deprecated and what procedure to use.

Comment correction

The greater than (gt) and less than (lt) got eaten up in original comment above. It should read:

Rather than registering the script-fu to
"lt Toolbox gt/Werdn/Rays animation"
how about "lt Images gt/Filters/Werdn/Rays animation"".

You should avoid menu names

You should avoid menu names that do give the user no idea of their purpose.

The name of the procedure is where your name or nick can go, please keep menu names at a pure functional level.