3 flexagon-toolkit is a collection of tools to make it easier to build flexagons.
8 To draw a template for a hexaflexagon execute:
11 $ ./src/cairo_hexaflexagon_template.py
14 And check out the generated `hexaflexagon-template.svg' file.
19 To play with the GIMP plugin, install it with the following command:
22 $ make install_gimp_plugin
25 Then launch Gimp and go to `Filters -> Render -> Hexaflexagon`.
28 ## Live SVG flexagon editing in Inkscape
32 Create a new hexaflexagon base file with the following command:
35 $ ./src/svg_hexaflexagon_editor.py
38 Open the generated file `inkscape-hexaflexagon-editor.svg` in Inkscape and add
39 the hexagon content to the layers named *Hexagon 1*, *Hexagon 2*, *Hexagon 3*.
41 See the hexaflexagon being composed automatically and interactively.
45 Create a new tetraflexagon base file with the following command:
48 $ ./src/svg_tetraflexagon_editor.py
51 Open the generated file `inkscape-tetraflexagon-editor.svg` in Inkscape and add
52 the squares content to the layers named *Square 1*, *Square 2*, *Square 3*.
54 See the tetraflexagon being composed automatically and interactively.