r/learnpython • • 5h ago

2D graphics around turtle

I created a module called "graphics_2d". Here is the repository: https://github.com/Crusher-Titanium/graphics_2d

2 Upvotes

7 comments sorted by

2

u/pachura3 5h ago

But... why?

1

u/Swimming-Panic6711 5h ago

it's a wrapper it takes less code to draw things

•

u/pachura3 24m ago

It makes no sense. The whole purpose of turtle is that instead of using raster (pixel) graphics directly, you have an abstraction layer of angles, rotations, and relative distances. Which is nice e.g. for drawing fractals.

Implementing draw_dot(x,y) on top of turtle is like using a microscope to drive in nails.

1

u/Swimming-Panic6711 5h ago

v1.0.1 is out - added draw_line().

1

u/Swimming-Panic6711 3h ago

v1.0.2 is out - added draw_triangle().

1

u/Swimming-Panic6711 2h ago

v1.1.0 is out