3 ms·
Any thoughts on the least intrusive yet modern simple graphics library for Python? I've been wanting to play with some of these things but never quite find the
by allenrb 4y ago
Any thoughts on the least intrusive yet modern simple graphics library for Python? I've been wanting to play with some of these things but never quite find the time/motivation to deal with the "getting started" overhead.
- lixtra 4y agoI was about to propose https://www.pygame.org/wiki/GettingStarted https://www.pygame.org/wiki/GettingStarted but then I saw that meanwhile there is https://docs.python.org/3/library/turtle.html https://docs.python.org/3/library/turtle.html
- vram22 4y agoYes, the turtle graphics module has been in the Python standard library for some time. Here are a couple of small programs using it, that I wrote a while ago: Simple drawing program with Python turtle graphics: https://jugad2.blogspot.com/2016/01/simple-drawing-program-with-python.html?m=0 https://jugad2.blogspot.com/2016/01/simple-drawing-program-w... Square spiral - drawing with 3D effect (turtle graphics): https://jugad2.blogspot.com/2016/08/square-spiral-drawing-with-3d-effect.html?m=0 https://jugad2.blogspot.com/2016/08/square-spiral-drawing-wi...
- bit-101 4y agoas mentioned, pygame seems a common goto lib. Though it does a lot more than just graphics and animation, it does seem to be good with those too.
- bit-101 4y agoI've also had very good luck with cairographics bindings in multiple languages. For python there is pycairo. But it does require installing the native cairographics libs on your system. That might be a deal breaker for you. Not sure.