Skip to main content

Implementation of L-Systems

Project description

A Python module for L-systems

Example use:

>>> from lsystem import LSystem
>>> algae = LSystem(axiom='a', rules={'a':'ab', 'b':'a'})
>>> print algae[5]
abaababaabaab

Another example is given as a script example-plant.py. Running the script

python example-plant.py

results in the following picture: ![plant image](imgs/plant6.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lsystems-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file lsystems-0.1.0.tar.gz.

File metadata

  • Download URL: lsystems-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lsystems-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e1360029921662e27dae1549f292db2706076f717ae94691faa96e1dd15861e5
MD5 0dc8110346e62539e563a5fe2c970eed
BLAKE2b-256 ed00e5a7e3fe068f51abdd74069fcd74f82972e4639f7c9299e87581caa1eb01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page