Skip to content

Rendering fractals defined as L-systems 🕸

License

Notifications You must be signed in to change notification settings

dmrib/l-systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

l-systems

Rendering fractals defined as L-systems 🕸

About

This is a simple implementation of a L-systems renderer.

Given a ruleset, it will derive axioms and render instructions using a Turtle drawer.

Rule Effect
F Draw a line of stepSize and translate to end point.
f Move to the end point without drawing.
+ Rotate by angle
- Rotate by -angle

Made when I was reading The Nature of Code.

Usage

Click anywhere on the screen to advance to next derivation or grammar.

How to run

Simply run a HTTP server on the repository root.

Or se it live here.

About

Rendering fractals defined as L-systems 🕸

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published