将Python龟图形保存为动画.gif? [英] Saving Python turtle graphics as an animated .gif?

查看:3062
本文介绍了将Python龟图形保存为动画.gif?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Python中创建了几个程序,其输出显示为一个名为Python Turtle Graphics的窗口。



我想将这些文件保存为.gifs用于互联网目的。



Python程序的输出使用乌龟库保存为一个动画的.gif?最简单的方法将是一个屏幕录制应用程序。



解决方案


GifCam 可能是一个不错的简单解决方案。

或者,您可以使用 BB闪回录像机等内容录制视频,然后转换为gif。这里的优势在于,如果有的话,您还可以捕获moue交互。

I have made several programs in Python that have output showing up as a window called Python Turtle Graphics.

I want to save these files as .gifs for internet purposes.

Can the output of a Python program using the turtle library be saved as an animated .gif?

解决方案

The easiest way would be a screen recording app.
Something like GifCam could be a nice easy solution.
Alternatively you could use something like BB Flashback recorder to record a video and then convert to a gif. The advantage here would be you can also capture the moue interactions if there are any.

这篇关于将Python龟图形保存为动画.gif?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆