Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cormullion/lindenmayer.jl
draw Lindenmayer (L-Systems) recursive graphics
https://github.com/cormullion/lindenmayer.jl
graphics julia lindenmayer lsystem turtle
Last synced: 17 days ago
JSON representation
draw Lindenmayer (L-Systems) recursive graphics
- Host: GitHub
- URL: https://github.com/cormullion/lindenmayer.jl
- Owner: cormullion
- License: other
- Created: 2015-09-21T08:15:19.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T17:23:52.000Z (3 months ago)
- Last Synced: 2024-10-13T19:38:01.531Z (about 1 month ago)
- Topics: graphics, julia, lindenmayer, lsystem, turtle
- Language: Julia
- Homepage: http://cormullion.github.io/Lindenmayer.jl/
- Size: 21.4 MB
- Stars: 38
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
| **Documentation** | **Build Status** | **Code Coverage** |
|:---------------------------------------:|:-----------------------------------------:|:-------------------------------:|
| [![][docs-stable-img]][docs-stable-url] | [![Build Status][ci-img]][ci-url] | [![][codecov-img]][codecov-url] |
| [![][docs-dev-img]][docs-dev-url] | [![Build Status][appvey-img]][appvey-url] | |# Lindenmayer (LSystems)
This package builds and draws Lindenmayer systems (LSystems). It uses Luxor.jl to draw the graphics.
L-systems were introduced and developed in 1968 by Aristid Lindenmayer, a
Hungarian theoretical biologist and botanist at the University of Utrecht.
Lindenmayer used L-systems to describe the behaviour of plant cells and to model
the growth processes of plant development. L-systems have also been used to
model the morphology of a variety of organisms and can be used to generate
self-similar fractals such as iterated function systems.```julia
using Lindenmayerplant = LSystem(["F" => "F[-F]cF[+F][F]"], "F")
drawLSystem(plant,
forward = 6,
startingpen = (0, 0.8, 0.3),
startingx = 0,
startingy = 400,
startingorientation = -π/2,
turn = 17,
iterations = 6,
filename = "plant.png")```
[docs-dev-img]: https://img.shields.io/badge/docs-dev-blue.svg
[docs-dev-url]: https://cormullion.github.io/Lindenmayer.jl/dev[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://cormullion.github.io/Lindenmayer.jl/stable[pkgeval-link]: http://pkg.julialang.org/?pkg=Lindenmayer
[ci-img]: https://github.com/cormullion/Lindenmayer.jl/workflows/CI/badge.svg
[ci-url]: https://github.com/cormullion/Lindenmayer.jl/actions?query=workflow%3ACI[appvey-img]: https://ci.appveyor.com/api/projects/status/jfa9e54lv92rqd3m?svg=true
[appvey-url]: https://ci.appveyor.com/project/cormullion/lindenmayer-jl/branch/master[codecov-img]: https://codecov.io/gh/cormullion/Lindenmayer.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/cormullion/Lindenmayer.jl