Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (37 loc) · 2.04 KB

README.md

File metadata and controls

53 lines (37 loc) · 2.04 KB

Tortoise

License

A rule-based fractal generator based on turtle graphics & Lindenmayer systems.

Screenshot

Sierpiński's Triangle

Sierpiński's Triangle approximated using a Sierpiński arrowhead curve L-system

Building

This project compiles to a WebAssembly target using Rust's wasm-bindgen crate. For more information, please check the domain working group's website Rust and WebAssembly. Please make sure to install the correct dependencies first, namely the Rust toolchain and wasm-pack.

In order to compile Rust to WebAssembly so it can be used as a module, execute the following command in the project's directory.

wasm-pack build --target=web

It is easy to use a utility like Live Server during development, to avoid CORS issues and manual reloads.

live-server --watch=pkg,index.html

License

Tortoise: A rule-based fractal generator based on turtle graphics & Lindenmayer systems.

Copyright (C) 2020 Tim Baccaert <timbaccaert@protonmail.com>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.