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

A rule-based fractal generator based on turtle graphics & Lindenmayer systems, implemented for WebAssembly.

License

Notifications You must be signed in to change notification settings

timplication/tortoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <[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/>.

About

A rule-based fractal generator based on turtle graphics & Lindenmayer systems, implemented for WebAssembly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published