For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

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.html next to your program and opens a live copy at http://localhost:8765/. Nothing else needs to be installed.

  • Oval objects now rotate properly.

  • Rectangle can rotate around its top-left corner: rect.rotate(45, from_top_left=True)

  • Image objects can rotate.

  • .rotate() turns every object clockwise, including Arc and Text, which used to turn counterclockwise.

  • Properties can be changed directly: circle.radius = 50 works like circle.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 Shape parent class.

  • end(print_html=True) prints the finished page's HTML code.

  • load_canvas() has new options: port (default 8765) picks the port for the live drawing, and open_browser=False lets 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?