开发者

Procedural graphics for learning Python [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved a开发者_运维技巧nd possibly reopened, visit the help center for guidance. Closed 10 years ago.

Can anyone recommend a good compact Python graphics library (with tutorials) which is suitable for motivating stronger students in an introductory programming course? I mean library for creating images, not image processing.


I'm afraid there aren't any libraries that have been written only for creating images. Most of the examples I have seen around are using some kind of image processing library (like PiL) and rely on clever algorithms.

Besides, procedural generation of various data structures can be used in variety of scenarios besides generating images/textures.

You can find a big list of algorithms from Procedural Content Generation Wiki.


The very basic 'picture drawing' facilities are provided by the turtle module from the standard Python library. It is not the kind of interface used normally for computer graphics, though.


Depends on what you call "images". If graphs may also be called "images", give matplotlib an eye. It also displays pictures. And there is a huge sample library.

http://matplotlib.sourceforge.net/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜