Python对图形有用吗?

编程入门 行业动态 更新时间:2024-10-13 00:33:16
本文介绍了Python对图形有用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

首先,我*真的喜欢Python ;-) 我需要一些图形方面的帮助。我想用Python做一些基本的图形,但是我不确定最好/最有效的方式是什么让我做我想做的事情。 基本上,我希望能够创建一些基本动画 ,我可以帮助可视化各种排序算法(例如 ciips.ee.uwa.edu。 au / ~morris / Y ... ml#insert_anim ) 或图表搜索(每个访问的着色节点)。 (有点像这样的: cs.smith.edu/~thiebaut/java/graph/Welcome.html ) 或者以编程方式创建和操作一个简单的二维块拼图 (像这样: http:// www .johnrausch / SlidingBlo ... es / quzzle.htm)。 注意,通过网络做到这一点的能力会很好,但肯定是 目前不需要* 这些将用于帮助学习/教学。 我知道Tkinter和wxPython(意识到我的意思是我知道他们的 存在:-)在投入(很多?)时间学习这些之前,我 以为我会问周围更有经验的人什么是最好的方式来投入时间来获得基本的图形。 我真的是一个我不太关注效率和易用性。 任何人都可以推荐最适合我有限的需求的东西吗? 是否有其他图形库我应该考虑那将是更优惠的 ? 或者Python不是这样的方式吗? 谢谢! Esmail

First of all, I *really* like Python ;-) I need some help with the graphical side of things. I would like to do some basic graphics with Python, but I am not sure what the best/most effective way for me to do what I want. Basically, I would like to be able to create some basic animations where I can help visualize various sorting algorithms (for instance ciips.ee.uwa.edu.au/~morris/Y...ml#insert_anim) or graph searches (coloring nodes as each gets visited). (Something like this: cs.smith.edu/~thiebaut/java/graph/Welcome.html) Or to create and manipulate programmatically a simple 2-D block puzzle (like this: www.johnrausch/SlidingBlo...es/quzzle.htm). Note, the ability to do this via the web would be nice, but definitely is *not* required at the moment. These would be used to help in learning/teaching. I am aware of Tkinter and wxPython (by aware I mean I know of their existence :-) Before investing (a lot?) of time to learn these, I thought I?d ask the more experienced folks around here what would be the best way to invest my time to get basic graphics going. I really am not concerned so much with efficiency as easy of use. Can anyone recommend what would suit my rather limited needs best? Are there other graphics libraries I should consider that would be more suitable? Or is Python not the way to go for this? Thanks! Esmail

推荐答案

Esmail Bonakdarian写道: Esmail Bonakdarian wrote: 基本上,我希望能够创建一些基本动画我可以帮助可视化各种排序算法(例如 ciips.ee.uwa.edu.au/~morris/Y...ml #insert_anim )或图表搜索(每个访问的着色节点)。 (像这样的东西: http:// cs.smith.edu/~thiebaut/java/graph/Welcome.html ) 或者以编程方式创建和操作一个简单的二维块拼图(如下所示: www.johnrausch/SlidingBlo...es/quzzle .htm)。 Basically, I would like to be able to create some basic animations where I can help visualize various sorting algorithms (for instance ciips.ee.uwa.edu.au/~morris/Y...ml#insert_anim) or graph searches (coloring nodes as each gets visited). (Something like this: cs.smith.edu/~thiebaut/java/graph/Welcome.html) Or to create and manipulate programmatically a simple 2-D block puzzle (like this: www.johnrausch/SlidingBlo...es/quzzle.htm).

怎么样 : vpython/ < / F>

how about: vpython/ </F>

Fredrik Lundh写道: Fredrik Lundh wrote: 怎么样: vpython/

谢谢,我不知道。 你(或其他任何人)推荐2D类型吗? /> 图片? 谢谢, Esmail

thanks, I didn''t know about that. do you (or anyone else) have a recommendation for 2D type graphics? Thanks, Esmail

Esmail Bonakdarian写道: Esmail Bonakdarian wrote: Fredrik Lundh写道: Fredrik Lundh wrote: 怎么样: vpython/

谢谢,我不知道。 你(或其他任何人)有推荐2D型图形吗?

thanks, I didn''t know about that. do you (or anyone else) have a recommendation for 2D type graphics?

我喜欢Kiva(但是,我也帮助开发它)。获得它的最佳位置 现在是SVN存储库,但它相当稳定。 svn.enthought/svn/enthoug...converge/kiva/ - Robert Kern rk *** @ ucsd。 edu 在地狱的地方,草地长得很高 梦想的坟墓是否能够死亡。 /> - Richard Harter

I like Kiva (but then, I also help develop it). The best place to get it right now is the SVN repository, but it''s fairly stable. svn.enthought/svn/enthoug...converge/kiva/ -- Robert Kern rk***@ucsd.edu "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter

更多推荐

Python对图形有用吗?

本文发布于:2023-11-07 00:16:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1565038.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:有用吗   图形   Python

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!