8000 GitHub - liuguangxi/fractusist: Create a variety of wonderful fractals and curves in Typst
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Create a variety of wonderful fractals and curves in Typst

License

Notifications You must be signed in to change notification settings
8000

liuguangxi/fractusist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractusist

Create a variety of wonderful fractals and curves in Typst.

Examples

Dragon Curve Koch Snowflake Sierpiński Triangle
Hypotrochoid Random Fractal Tree Pythagorean Tree

Click on the example image to jump to the code.

Features

  • Generate fractals using L-system. The grammar, number of it 5D8F erations, drawing styles, etc. could be customized.
  • Over 30 preset parameters are provided for the L-system to facilitate the drawing of fractals.
  • Generate fractals using iterative methods, including Fibonacci word fractal and Z-order curve.
  • Generate fractals using recursive methods, including various fractal trees and Sierpiński carpet.
  • Generate parametric curves, such as spirographs and Lissajous curves.
  • Generate three types of Penrose tiling: original pentagonal Penrose tiling (P1), kite and dart tiling (P2) and rhombus tiling (P3).

Usage

Import the latest version of this package with:

#import "@preview/fractusist:0.3.2": *

Each drawing function generates a type of fractal or curve, with a variety of configurable parameters.

For more information, see the manual.

This package comes with some unit tests under the tests directory.

About

Create a variety of wonderful fractals and curves in Typst

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0