Skip to content
Patrizio Amella edited this page Mar 18, 2021 · 2 revisions

A render will transform a maze into a displayable format.

The main way is by generating an SVG, alternativaly, there is a unicode render for orthogonal maze.

SVG Orthogonal

rs-ortho

  -d, --distColor               (Default: false) Apply distance coloration ?

  -s, --solution                (Default: false) Show solution ?

  -e, --entranceExit            (Default: true) Add an entrance and an exit ?

  -l, --lines                   (Default: 0) Type of lines Straight, Circle, Curved or Random). In circle mode only the Width value is considered; in curved mode you can change the curve option to obtain various effects

  --seed                        RNG seed, if none is provided a random one is chosen

  --curvemultfact               (Default: 5) Curve multiplication factor

  --width                       (Default: 30) Width of a single cell

  --height                      (Default: 30) Height of a single cell

  --bridgewidth                 (Default: 10) Width of the bridge

  --bridgedistancefromcenter    (Default: 12) Distance of the bridge from the center of a cell

  --margin                      (Default: 20) Margin for the entire maze

  --curve                       (Default: 0) Change the curve value when drawing a line; only applicable in fixed mode on the lines option

SVG Polar

rs-polar

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

SVG Hexagonal

rs-hex

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

SVG Triangle

rs-tri

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

SVG Octagonal and Square

rs-octas

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

SVG Pentagonal Cairo

rs-pentac

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

SVG Brick

rs-brick

  -d, --distColor       (Default: false) Distance coloration

  -s, --solution        (Default: false) Show solution ?

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?

Text Orthogonal

rt-ortho

  -e, --entranceExit    (Default: true) Add an entrance and an exit ?