https://github.com/benmaier/csss18_lindenmayer_shirt

Builds a fractal structure from a base png

https://github.com/benmaier/csss18_lindenmayer_shirt

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
Last synced: 9 months ago · JSON representation

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
Created about 8 years ago · Last pushed about 8 years ago
Metadata Files
Readme

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

logo

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 stack
  • r moves the coordinate system by vector r
  • a scales 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.
  • l moves the coordinate system by vector l
  • + rotates the coordinate system by angle alpha
  • b scales the coordinate system with ratio b
  • A draws a copy of the image.
  • B draws 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

Postdoc @suneman 's, generative art, electronic music. DTU Compute & SODAS.

GitHub Events

Total
Last Year

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 6
  • Total Committers: 1
  • Avg Commits per committer: 6.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels