You are here

Diamond Grid

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
DiamondGrid.jpg94.87 KB
JMS-Grid_Diamonds.scm10.78 KB

This is yet another in a series of "grid" scripts. I tried to shoe-horn this one into the circular grid script (found here: http://registry.gimp.org/node/25206), but there were too many other variables that were specific to the diamonds. It also gave me a chance to do a bit of code clean-up.

As with the circle grid, you can do two colored diamonds, and each one can have their own width and height. The "outer" one is the one on the bottom, unless both dimensions for the outer are less than those for the inner, in which case the order of those two layers is switched. There are options for anti-aliasing the shapes (happy, mahvin? :-) as well as totally random colors. The attached image is the output of a default run of the code.

As always, let me know if there are any issues or comments on the code. Enjoy!

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

Error while executing script-fu-DiamondGrid:

Error: not enough arguments

UPDATE: it was a procedure name conflict (I resolved it myself) I had created a file using Rob's hack and your code, so had to rename the procedure in the older file.

Subscribe to Comments for "Diamond Grid"