Skip to main content

"A TC Graphics style like Graphics Library"

Project description

===============================
Introduction to PyEasyGraphics
===============================

A Borland Graphics Interface like Grahics library for python


`Borland Graphics Interface <https://en.wikipedia.org/wiki/Borland_Graphics_Interface />`_, also known
as `Turbo C Graphics <http://www.softwareandfinance.com/Turbo_C/Graphics/>`_, is an easy-to-use graphics library
bundled with Turbo C/Turbo C++/Borland C++.

Because it is easy to learn and use, it is very good for using for kids and beginners to learn basic programming ,
computer graphics.

.. image:: https://badge.fury.io/py/easygraphics.png
:target: http://badge.fury.io/py/easygraphics

.. image:: https://pypip.in/d/easygraphics/badge.png
:target: https://pypi.python.org/pypi/easygraphics

* Free software: GPL v3 license
* Documentation: https://pyeasygraphics.readthedocs.io/en/latest/

Sample program
----------------------
.. code:: python

from easygraphics import *

def mainloop():
x = 0;
set_color(Color.BLUE);
set_fill_color(Color.GREEN);

while is_run():
x = ( x + 1 ) % 440;
clear_device();
draw_ellipse(x + 100, 200, 100, 100);
delay_fps(60)

init_graph(640, 480)
mainloop()
close_graph()


Special Thanks
---------------
Some code is taken from `easygui_qt<https://github.com/aroberge/easygui_qt/>`_ and
`qtutils <https://bitbucket.org/philipstarkey/qtutils>`_, thanks a lot!



History
=======
0.9.2
---------------------
* add: easygraphics functions can run in the interactive mode (eg. IPython) correctly
* add: dialogs (in **easygraphics.dialog** package, adopted from
`easygui_qt<https://github.com/aroberge/easygui_qt/>`_ )
* add: create and save to/from file
* add image transforms (translate/rotate/scale)
* add view port support
* add sphinx docs
* upload docs to readthedocs.org

0.9.1
---------------------
* add readme text
* add delay_fps() and rgb() functions

0.9.0
---------------------
* add keyboard and mouse message check and handle
* add simple dialogs ( from EasyGUI-Qt (https://github.com/aroberge/easygui_qt) and qtutils (https://bitbucket.org/philipstarkey/qtutils))


0.1.0
---------------------
* First release on github


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

easygraphics-0.9.2.tar.gz (33.6 kB view hashes)

Uploaded Source

Built Distribution

easygraphics-0.9.2-py3-none-any.whl (49.3 kB view hashes)

Uploaded Python 3

Supported by

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