Skip to content

fridasor/lsystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L-System

Screenshot of the interface

Massively untrimmed code for constructing and viewing Lindenmayer systems (L-systems). You construct the L-system in an interface (made with iced) and press a button to render the structure. In the interface you can tweak parameters (the rules, axiom, angle, num of iterations). There are also templates to choose from (including the Hilbert curve, Koch curve, the Sierpinski triangle).

Heavily inspired by the L-system renderer. Hinges solely (modulo the file plotting.rs for plotting the structures with plotters) on iced and the examples in that repo.

To do

  • Prettify the interface
  • Trim the code
  • Add comments
  • Add button for exporting plot

Releases

No releases published

Packages

No packages published

Languages