A rule-based fractal generator based on turtle graphics & Lindenmayer systems.
Sierpiński's Triangle approximated using a Sierpiński arrowhead curve L-system
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
Tortoise: A rule-based fractal generator based on turtle graphics & Lindenmayer systems.
Copyright (C) 2020 Tim Baccaert <[email protected]>
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/>.