> For the complete documentation index, see [llms.txt](https://easy-draw.joemazzone.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easy-draw.joemazzone.net/python/whats-new-in-2.0.md). Agents can also search and read this documentation through its [MCP server](https://easy-draw.joemazzone.net/~gitbook/mcp).

# 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](https://easy-draw.joemazzone.net/python/setup-and-install.md).

## Java

Easy Draw now has a Java version too! See [Java Setup and Install](https://easy-draw.joemazzone.net/java/setup-and-install.md).
