Crate l_system_fractals
source ·Expand description
A command-line utility (and library) for creating L-system fractals.
- Author: Christopher Phan
- Git repository: on Codeberg
- License: MIT or Apache 2.0
crates.io
pagedocs.rs
page
§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
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§
- Provides an error type for the crate.
- Functions to screen out NaN and ±∞, as well as test for near equality.
- Provides deserialization capabilities, for reading input files.
- Representation of basic SVG paths (made with moves and lines).
- Defines and generates L-systems.