├── LICENSE ├── README.md ├── doc ├── cover.typ ├── manual.pdf ├── manual.typ └── preamble.typ ├── examples ├── dragon-curve-ex.png ├── dragon-curve-ex.typ ├── hypotrochoid-ex.png ├── hypotrochoid-ex.typ ├── koch-snowflake-ex.png ├── koch-snowflake-ex.typ ├── pythagorean-tree-ex.png ├── pythagorean-tree-ex.typ ├── random-fractal-tree-ex.png ├── random-fractal-tree-ex.typ ├── sierpinski-triangle-ex.png └── sierpinski-triangle-ex.typ ├── src ├── iterative │ ├── fibonacci.typ │ └── z-order.typ ├── lib.typ ├── lsystem │ ├── dragon.typ │ ├── hilbert.typ │ ├── koch.typ │ ├── lsystem-lib.typ │ ├── lsystem.typ │ └── sierpinski.typ ├── parametric │ ├── lissajous.typ │ └── spirograph.typ ├── recursive │ ├── carpet.typ │ └── tree.typ └── tilings │ ├── penrose-1.typ │ ├── penrose-2.typ │ ├── penrose-3.typ │ └── util.typ ├── tests ├── compile.sh ├── test-dragon-curve.pdf ├── test-dragon-curve.typ ├── test-epitrochoid.pdf ├── test-epitrochoid.typ ├── test-fibonacci-word-fractal.pdf ├── test-fibonacci-word-fractal.typ ├── test-fractal-tree.pdf ├── test-fractal-tree.typ ├── test-hilbert-curve.pdf ├── test-hilbert-curve.typ ├── test-hypotrochoid.pdf ├── test-hypotrochoid.typ ├── test-koch-curve.pdf ├── test-koch-curve.typ ├── test-koch-snowflake.pdf ├── test-koch-snowflake.typ ├── test-lissajous-curve.pdf ├── test-lissajous-curve.typ ├── test-lsystem.pdf ├── test-lsystem.typ ├── test-peano-curve.pdf ├── test-peano-curve.typ ├── test-penrose-1.pdf ├── test-penrose-1.typ ├── test-penrose-2.pdf ├── test-penrose-2.typ ├── test-penrose-3.pdf ├── test-penrose-3.typ ├── test-pythagorean-tree.pdf ├── test-pythagorean-tree.typ ├── test-random-fractal-tree.pdf ├── test-random-fractal-tree.typ ├── test-sierpinski-arrowhead-curve.pdf ├── test-sierpinski-arrowhead-curve.typ ├── test-sierpinski-carpet.pdf ├── test-sierpinski-carpet.typ ├── test-sierpinski-curve.pdf ├── test-sierpinski-curve.typ ├── test-sierpinski-square-curve.pdf ├── test-sierpinski-square-curve.typ ├── test-sierpinski-triangle.pdf ├── test-sierpinski-triangle.typ ├── test-z-order-curve.pdf └── test-z-order-curve.typ └── typst.toml /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/README.md -------------------------------------------------------------------------------- /doc/cover.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/doc/cover.typ -------------------------------------------------------------------------------- /doc/manual.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/doc/manual.pdf -------------------------------------------------------------------------------- /doc/manual.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/doc/manual.typ -------------------------------------------------------------------------------- /doc/preamble.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/doc/preamble.typ -------------------------------------------------------------------------------- /examples/dragon-curve-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/dragon-curve-ex.png -------------------------------------------------------------------------------- /examples/dragon-curve-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/dragon-curve-ex.typ -------------------------------------------------------------------------------- /examples/hypotrochoid-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/hypotrochoid-ex.png -------------------------------------------------------------------------------- /examples/hypotrochoid-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/hypotrochoid-ex.typ -------------------------------------------------------------------------------- /examples/koch-snowflake-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/koch-snowflake-ex.png -------------------------------------------------------------------------------- /examples/koch-snowflake-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/koch-snowflake-ex.typ -------------------------------------------------------------------------------- /examples/pythagorean-tree-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/pythagorean-tree-ex.png -------------------------------------------------------------------------------- /examples/pythagorean-tree-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/pythagorean-tree-ex.typ -------------------------------------------------------------------------------- /examples/random-fractal-tree-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/random-fractal-tree-ex.png -------------------------------------------------------------------------------- /examples/random-fractal-tree-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/random-fractal-tree-ex.typ -------------------------------------------------------------------------------- /examples/sierpinski-triangle-ex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/sierpinski-triangle-ex.png -------------------------------------------------------------------------------- /examples/sierpinski-triangle-ex.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/examples/sierpinski-triangle-ex.typ -------------------------------------------------------------------------------- /src/iterative/fibonacci.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/iterative/fibonacci.typ -------------------------------------------------------------------------------- /src/iterative/z-order.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/iterative/z-order.typ -------------------------------------------------------------------------------- /src/lib.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lib.typ -------------------------------------------------------------------------------- /src/lsystem/dragon.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/dragon.typ -------------------------------------------------------------------------------- /src/lsystem/hilbert.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/hilbert.typ -------------------------------------------------------------------------------- /src/lsystem/koch.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/koch.typ -------------------------------------------------------------------------------- /src/lsystem/lsystem-lib.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/lsystem-lib.typ -------------------------------------------------------------------------------- /src/lsystem/lsystem.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/lsystem.typ -------------------------------------------------------------------------------- /src/lsystem/sierpinski.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/lsystem/sierpinski.typ -------------------------------------------------------------------------------- /src/parametric/lissajous.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/parametric/lissajous.typ -------------------------------------------------------------------------------- /src/parametric/spirograph.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/parametric/spirograph.typ -------------------------------------------------------------------------------- /src/recursive/carpet.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/recursive/carpet.typ -------------------------------------------------------------------------------- /src/recursive/tree.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/recursive/tree.typ -------------------------------------------------------------------------------- /src/tilings/penrose-1.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/tilings/penrose-1.typ -------------------------------------------------------------------------------- /src/tilings/penrose-2.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/tilings/penrose-2.typ -------------------------------------------------------------------------------- /src/tilings/penrose-3.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/tilings/penrose-3.typ -------------------------------------------------------------------------------- /src/tilings/util.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/src/tilings/util.typ -------------------------------------------------------------------------------- /tests/compile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | find . -name "*.typ" | xargs -i typst c --root .. {} 4 | 5 | -------------------------------------------------------------------------------- /tests/test-dragon-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-dragon-curve.pdf -------------------------------------------------------------------------------- /tests/test-dragon-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-dragon-curve.typ -------------------------------------------------------------------------------- /tests/test-epitrochoid.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-epitrochoid.pdf -------------------------------------------------------------------------------- /tests/test-epitrochoid.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-epitrochoid.typ -------------------------------------------------------------------------------- /tests/test-fibonacci-word-fractal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-fibonacci-word-fractal.pdf -------------------------------------------------------------------------------- /tests/test-fibonacci-word-fractal.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-fibonacci-word-fractal.typ -------------------------------------------------------------------------------- /tests/test-fractal-tree.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-fractal-tree.pdf -------------------------------------------------------------------------------- /tests/test-fractal-tree.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-fractal-tree.typ -------------------------------------------------------------------------------- /tests/test-hilbert-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-hilbert-curve.pdf -------------------------------------------------------------------------------- /tests/test-hilbert-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-hilbert-curve.typ -------------------------------------------------------------------------------- /tests/test-hypotrochoid.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-hypotrochoid.pdf -------------------------------------------------------------------------------- /tests/test-hypotrochoid.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-hypotrochoid.typ -------------------------------------------------------------------------------- /tests/test-koch-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-koch-curve.pdf -------------------------------------------------------------------------------- /tests/test-koch-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-koch-curve.typ -------------------------------------------------------------------------------- /tests/test-koch-snowflake.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-koch-snowflake.pdf -------------------------------------------------------------------------------- /tests/test-koch-snowflake.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-koch-snowflake.typ -------------------------------------------------------------------------------- /tests/test-lissajous-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-lissajous-curve.pdf -------------------------------------------------------------------------------- /tests/test-lissajous-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-lissajous-curve.typ -------------------------------------------------------------------------------- /tests/test-lsystem.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-lsystem.pdf -------------------------------------------------------------------------------- /tests/test-lsystem.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-lsystem.typ -------------------------------------------------------------------------------- /tests/test-peano-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-peano-curve.pdf -------------------------------------------------------------------------------- /tests/test-peano-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-peano-curve.typ -------------------------------------------------------------------------------- /tests/test-penrose-1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-1.pdf -------------------------------------------------------------------------------- /tests/test-penrose-1.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-1.typ -------------------------------------------------------------------------------- /tests/test-penrose-2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-2.pdf -------------------------------------------------------------------------------- /tests/test-penrose-2.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-2.typ -------------------------------------------------------------------------------- /tests/test-penrose-3.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-3.pdf -------------------------------------------------------------------------------- /tests/test-penrose-3.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-penrose-3.typ -------------------------------------------------------------------------------- /tests/test-pythagorean-tree.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-pythagorean-tree.pdf -------------------------------------------------------------------------------- /tests/test-pythagorean-tree.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-pythagorean-tree.typ -------------------------------------------------------------------------------- /tests/test-random-fractal-tree.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-random-fractal-tree.pdf -------------------------------------------------------------------------------- /tests/test-random-fractal-tree.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-random-fractal-tree.typ -------------------------------------------------------------------------------- /tests/test-sierpinski-arrowhead-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-arrowhead-curve.pdf -------------------------------------------------------------------------------- /tests/test-sierpinski-arrowhead-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-arrowhead-curve.typ -------------------------------------------------------------------------------- /tests/test-sierpinski-carpet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-carpet.pdf -------------------------------------------------------------------------------- /tests/test-sierpinski-carpet.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-carpet.typ -------------------------------------------------------------------------------- /tests/test-sierpinski-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-curve.pdf -------------------------------------------------------------------------------- /tests/test-sierpinski-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-curve.typ -------------------------------------------------------------------------------- /tests/test-sierpinski-square-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-square-curve.pdf -------------------------------------------------------------------------------- /tests/test-sierpinski-square-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-square-curve.typ -------------------------------------------------------------------------------- /tests/test-sierpinski-triangle.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-triangle.pdf -------------------------------------------------------------------------------- /tests/test-sierpinski-triangle.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-sierpinski-triangle.typ -------------------------------------------------------------------------------- /tests/test-z-order-curve.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-z-order-curve.pdf -------------------------------------------------------------------------------- /tests/test-z-order-curve.typ: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/tests/test-z-order-curve.typ -------------------------------------------------------------------------------- /typst.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liuguangxi/fractusist/HEAD/typst.toml --------------------------------------------------------------------------------