lsystem provides a tkinter interface to work with L-System equations.
Project description
TkLsystem provides a tkinter interface to work with L-System equations.
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file TkLsystem-0.3.0.zip
.
File metadata
- Download URL: TkLsystem-0.3.0.zip
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38be728f4ff0fbb271c0413e643dfb0c4d5ecb8099ccc041bff721df6260adc9 |
|
MD5 | 3d3f2942e5d5207b1a644feef41078b9 |
|
BLAKE2b-256 | d42b271dc09496209ea71bf500a0b29f8b384f7e2d61db9b563ed82b8b7c1d13 |
File details
Details for the file TkLsystem-0.3.0.win-amd64.zip
.
File metadata
- Download URL: TkLsystem-0.3.0.win-amd64.zip
- Upload date:
- Size: 73.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8429dd0e43798f0bf297885ef355cc89650921635ec3add95c9643df303b492 |
|
MD5 | 2b67366187387ca90f4d4fb6f6e0c35c |
|
BLAKE2b-256 | eaf2ccbd74ccef2ef05f7e4e36fe026416e73e3fb3085181ebeafc9bb5930327 |
File details
Details for the file TkLsystem-0.3.0.win-amd64.exe
.
File metadata
- Download URL: TkLsystem-0.3.0.win-amd64.exe
- Upload date:
- Size: 281.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 187fc0c0c7427c77fa94669f03bf50284fcbf203613945f947660e2674f8159c |
|
MD5 | 46b1b95ff5ce1cd347e430b7316657d8 |
|
BLAKE2b-256 | e9926a96f3d33f04bfdb516c905b1ece3f24cd91e68d41f1be3c7fa66e6d2675 |