Inkscape Community
Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: kronos on February 28, 2017, 11:48:54 AM
-
Is it possible to generate mazes like this (http://gwydir.demon.co.uk/jo/maze/roman/romanw.gif)
without drawing it ?
-
Hi.
That's a labyrinth not a maze. Maze generating (https://en.wikipedia.org/wiki/Maze_generation_algorithm) seems to be quite common, like this page (http://www.mazegenerator.net/), first in a search.
Drawing a labyrinth?
Shouldn't be so hard (http://www.inkscapeforum.com/viewtopic.php?f=5&t=17260) drawing one manually.
What exactly would you generate on that given image? Add in more turns?
-
Just like that http://www.mazegenerator.net/ is creating it, I was wondering if Inkscape has this generator for mazes and labyrints.
-
There seems to be no maze extension in the repository (http://wiki.inkscape.org/wiki/index.php/Extension_repository), although Eggbot (http://wiki.evilmadscientist.com/Eggmazing) offers a maze generating option.
(You can import pdf layouds from mazegenerator as well.)
-
The About page for that mazegenerator site says it outputs SVG. So don't even need to import a PDF!
I've had some fun making maze-like and labyrinth-like images with Inkscape. It can be tedious, but is not hard by any stretch. Here's how I did it.
-- draw a square
-- duplicate the square
-- position is beside the first square (must use snapping for best result! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Snapping.html)
-- select both squares and duplicate
-- move those 2 into place
-- select all 4 and duplicate
-- etc., etc.
When you have a section that you want to keep, select all the squares, and do Path menu > Union. Magic!
Then just continue along. If you want the maze/labyrinth to be symmetrical, one or both ways, then you only need to construct one half or one fourth of it. Select the entire half or fourth and duplicate. Then flip either horizontal or vertical, as necessary.
Here's one that I made: http://inkscapecommunity.com/ic_gallery/displayimage.php?album=42&pid=446#top_display_media
I thought the color added another interesting dimension.
-
Thanks