What's New in 2.0
Easy Draw 2.0 draws in your web browser instead of a Tkinter window. Programs written for version 1 should keep working.
Drawings show in the browser. Easy Draw writes your drawing to
index.htmlnext to your program and opens a live copy at http://localhost:8765/. Nothing else needs to be installed.Ovalobjects now rotate properly.Rectanglecan rotate around its top-left corner:rect.rotate(45, from_top_left=True)Imageobjects can rotate..rotate()turns every object clockwise, includingArcandText, which used to turn counterclockwise.Properties can be changed directly:
circle.radius = 50works likecircle.set_property(radius = 50).open_image()works with public image links:easy_draw.open_image("https://example.com/cat.png"). The browser loads the image straight from the link, so viewing the drawing needs an internet connection.Animations made with
time.sleep()loops now show while they run.Every drawing object shares a
Shapeparent class.end(print_html=True)prints the finished page's HTML code.load_canvas()has new options:port(default8765) picks the port for the live drawing, andopen_browser=Falselets you open the page yourself.
Still want the Tkinter window?
The original version is still available as easy_draw_desktop.py. See Setup and Install.
Java
Easy Draw now has a Java version too! See Java Setup and Install.
Was this helpful?