Skip to main content

"A TC Graphics style like Graphics Library"

Project description

A Borland Graphics Interface like Grahics library for python

Borland Graphics Interface, also known as 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.

https://badge.fury.io/py/easygraphics.png https://pypip.in/d/easygraphics/badge.png

Sample program

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 and qtutils, thanks a lot!

History

0.9.3

  • fix : Readme

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 )

  • 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

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.3.1.tar.gz (33.6 kB view hashes)

Uploaded Source

Built Distribution

easygraphics-0.9.3.1-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