Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 install

To run using `pipenv`:

.. code:: bash

$ cd logopy/
$ PYTHONPATH=. pipenv run ./bin/logopycli.py -f ./example_scripts/pysymbol2.lg

To create an SVG image:

.. code:: bash

$ cd logopy/
$ PYTHONPATH=. pipenv run ./bin/logopycli.py -f ./example_scripts/pysymbol2.lg svg -o pysymbol2.svg

To 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 automatic

Full docs at `Read the Docs `_ .