"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.
Free software: GPL v3 license
Documentation: https://pyeasygraphics.readthedocs.io/en/latest/
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
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
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 Distribution
Hashes for easygraphics-0.9.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c53d940f0baa21a9d6dce1372898615e32e4ab6c89c74b75f56f1e24f30142bd |
|
MD5 | 688d6358c37aef51d5cb27bcab238c73 |
|
BLAKE2b-256 | b91cf682eb5919a0f7c633535a27a6d9d8aac27fb8af462f07cb9a4d0147ce6e |