https://github.com/benmaier/csss18_lindenmayer_shirt
Builds a fractal structure from a base png
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.7%) to scientific vocabulary
Repository
Builds a fractal structure from a base png
Basic Info
- Host: GitHub
- Owner: benmaier
- Language: HTML
- Default Branch: master
- Size: 6.05 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Using Lindenmayer Systems to Generate a Fractal Logo
This repository takes a base png and generates a fractal structure using a Lindenmayer system.
Result

Lindenmayer system
The system is as follows
axiom = A
rules = { A -> [AraA][l+bB],
B -> [BraA]
}
[pushes a copy of the current coordinate system to a stackrmoves the coordinate system by vector rascales the coordinate system with ratio a]removes the current coordinate system from the stack such that the following coordinate system is the one that had this one as an offspring.lmoves the coordinate system by vector l+rotates the coordinate system by angle alphabscales the coordinate system with ratio bAdraws a copy of the image.Bdraws a copy of the image.
For, e.g. n = 3 iterations, the self-similar result is
[[[AraA][l+bB]ra[AraA][l+bB]][l+b[BraA]]ra[[AraA][l+bB]ra[AraA][l+bB]][l+b[BraA]]][l+b[[BraA]ra[AraA][l+bB]]]
To play around with this
git clone https://github.com/benmaier/CSSS18_Lindenmayer_Shirt
cd CSSS18_Lindenmayer_Shirt
python3 -m "http.server" 1313
In your browser, open localhost:1313.
Owner
- Name: Benjamin F. Maier
- Login: benmaier
- Kind: user
- Location: Copenhagen
- Company: Technical University of Denmark
- Website: benmaier.org
- Twitter: benfmaier
- Repositories: 101
- Profile: https://github.com/benmaier
Postdoc @suneman 's, generative art, electronic music. DTU Compute & SODAS.
GitHub Events
Total
Last Year
Committers
Last synced: over 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Benjamin Maier | b****r@g****m | 6 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0