Skip to main content

lsystem provides a tkinter interface to work with L-System equations.

Project description

TkLsystem provides a tkinter interface to work with L-System equations.

TkLsystem
Author:

Yaşar Arabacı, 2014

License:

Creative Commons Attribution-ShareAlike 4.0 International Public License

Version:

0.1

The goal is to create a simple interface to work with L-system equation systems. It is supposed to be easy to use.

Features

  • Saving rendered images

  • Saving/Loading equation systems

  • Comes with a lot of example systems

  • Caching long strings and rendered images to improve performance and responsiveness

Installation

From PyPI with pip (easy)

$ pip install TkLsystem

From Source at Github

  • Clone the repository

$ git clone https://github.com/yasar11732/tklsystem.git
  • Install with setup.py

$ python setup.py install

Run

$ tklsystem

Grammar

  • +: Turn right by specified angle

  • -: Turn left by specified angle

  • U: Pen-up, nothing will be drawn until pen is down

  • D: Pen-down, continue drawing

  • j: Jump forward, short cut for “U, forward, D”

  • [: Push position and heading to stack

  • ]: Pop position and heading from stack

Any other character will be treated as an alias for forward, unless they are specified as constants. Constants are no action characters that is only used to control the growing of the string.

Examples

  • Examples are loaded into file browser on the right side. Click them to load.

Files

  • Your saved files normally resides in ~/lsf_files directory. They are also automatically loaded to file browser when program starts.

  • You can save and load your custom equations.

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

TkLsystem-0.1.5.zip (23.9 kB view details)

Uploaded Source

File details

Details for the file TkLsystem-0.1.5.zip.

File metadata

  • Download URL: TkLsystem-0.1.5.zip
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for TkLsystem-0.1.5.zip
Algorithm Hash digest
SHA256 054581c5b4e997b5433703c5a3f19f8623757fc22a533e9051455d503f69f90d
MD5 40929cec4b812557f25f79e12298b34e
BLAKE2b-256 88d4b696f56587157d456a75f6c688cf524bdda3694f0c786dc2795744b5e5f6

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