Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwaldbieser/logopy
Logo interpreter written in Python
https://github.com/cwaldbieser/logopy
logo-interpreter python3 svg
Last synced: 25 days ago
JSON representation
Logo interpreter written in Python
- Host: GitHub
- URL: https://github.com/cwaldbieser/logopy
- Owner: cwaldbieser
- License: gpl-3.0
- Created: 2019-02-08T04:19:46.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T15:06:16.000Z (4 months ago)
- Last Synced: 2024-10-06T23:03:05.908Z (3 months ago)
- Topics: logo-interpreter, python3, svg
- Language: Python
- Size: 587 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Logo interpreter written in Python
==================================logopy is a Logo interpreter written in Python3. It aims to have some degree
of compatibility with UCBLogo, but I am open is open to adding new and
interesting features.Quick Start
-----------To install using `pipenv`:
.. code:: bash
$ cd logopy/
$ pipenv installTo run using `pipenv`:
.. code:: bash
$ cd logopy/
$ PYTHONPATH=. pipenv run ./bin/logopycli.py -f ./example_scripts/pysymbol2.lgTo create an SVG image:
.. code:: bash
$ cd logopy/
$ PYTHONPATH=. pipenv run ./bin/logopycli.py -f ./example_scripts/pysymbol2.lg svg -o pysymbol2.svgTo create an animated SVG image that can be viewed in a web browser:
.. code:: bash
$ cd logopy/
$ PYTHONPATH=. pipenv run ./bin/logopycli.py -f ./example_scripts/pointy_star.lg svg --html /path/to/a/folder/for/web-files \
--html-title 'Pointy Star' --html-scale 50 --animation-duration 400 --animation-type onebyone --animation-start automaticFull docs at `Read the Docs `_ .