There is a L-system renderrer in gimp. What is the rule set you are using?
-Rob A>
There is a L-system renderrer in gimp. What is the rule set you are using?
-Rob A>
My tutorials: Using GIMP to Create an Artistic Regional Map ~ All My Tutorials
My GIMP Scripts: Rotating Brush ~ Gradient from Image ~ Mosaic Tile Helper ~ Random Density Map ~ Subterranean Map Prettier ~ Tapered Stroke Path ~ Random Rotate Floating Layer ~ Batch Image to Pattern ~ Better Seamless Tiles ~ Tile Shuffle ~ Scale Pattern ~ Grid of Guides ~ Fractalize path ~ Label Points
My Maps: Finished Maps ~ Challenge Entries ~ My Portfolio: www.cartocopia.com
It's a bit ugly, since I was just playing around adding and tweaking rules to see what happened, and I'm not entirely happy with the results yet, but that one was drawn with:
I didn't know about the GIMP plugin; got a link?Code:Axiom: F Production rules: F -> (probability 1/2) F R (probability 1/8) F [ - F R ] F (probability 1/8) F [ + F R ] F (probability 1/8) F [ - F R ] [ + F R ] (probability 1/8) F [ - F R ] [ + F R ] F R -> (probability 1/2) F F (probability 1/2) F [ room ]
My program processes data defined in configuration files which let you define the axiom and production rules, specify whether the system is deterministic or random, define the step distance and turn angle (as functions, so they can be variable), define new symbols and functions to be called when they're parsed (like "room" above, which draws a room at the current position), specify line width and image size, and so on. It outputs PostScript, but since it's written in Lisp it should be fairly easy to convert to GIMP Scheme if I decide to -- I just need to get it producing better results
My random map generators and GIMP scripts: http://axiscity.hexamon.net/users/isomage/
Here's another, which I think is a little better (didn't bother with the parchment this time) -- it uses a simpler rule-set, has slightly bigger rooms, and might be more like what we'd want from a random dungeon map.
One of the things I like about these maps is that I'm randomly perturbing the L-system's angles and distances, so you don't get perfect right angles; it makes the corridors look more like ones in real catacomb maps, I think.
Last edited by isomage; 12-15-2008 at 08:36 PM.
My random map generators and GIMP scripts: http://axiscity.hexamon.net/users/isomage/