Crate l_system_fractals

Source
Expand description

A command-line utility (and library) for creating L-system fractals.

§Installation

First, if needed, install the latest version of Rust. Then, run from the command line:

$ cargo install l-system-fractals

§Command line use

$ l-system-fractals filename.json

For detailed information on how to create the JSON input file, see the file cli_help.md (rendered on Codeberg) in the repository root directory.

§Examples

Copyright © 2024 Christopher Phan

Available under either the MIT or Apache 2.0 license.

§Credits

§Serde JSON

This project uses the Serde JSON library, which is used under both the MIT and Apache 2.0 licenses.

Modules§

errors
Provides an error type for the crate.
num_validity
Functions to screen out NaN and ±∞, as well as test for near equality.
parse_files
Provides deserialization capabilities, for reading input files.
paths
Representation of basic SVG paths (made with moves and lines).
rules
Defines and generates L-systems.