Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hexagonal grids - GIMP python plug-in
#1
Hi, I'm new to the forum.

This is my GIMP python script for the creation of hexagonal grids, with a "best fit" search algorithm for optimal rasterization.

Link to download:

http://graphie.org/ressources/gimp/plugi...230326.zip


Some images:

http://graphie.org/ressources/gimp/plugi...h30_01.png

http://graphie.org/ressources/gimp/plugi...ace_01.png

http://graphie.org/ressources/gimp/plugi...put_01.png


About the plug-in:
        
  • It creates an hexagonal grid as a vector "path", covering as much as possible of the image's surface.
  • The hexagon's ideal dimensions are calculated and then slightly stretched to fit the image's pixels.
  • To avoid too much stretching, the algorithm searches for the best size within a user chosen interval.
  • Optionally, the path can be stroked on the active or newly created layer.

I'd also like to recommend the excellent path-shaped-grid plugin by Ofnuts. My plugin is more specific to hexagons, and I tried not to duplicate the existing one's functionalities too much. I have done a few refinements that I hope will be useful, like image grid adjustment, and search for optimal parameters.

Enjoy!
Reply


Messages In This Thread
Hexagonal grids - GIMP python plug-in - by Scallact - 03-26-2023, 11:30 AM

Forum Jump: