我可以配置 code_swarm 只创建没有视觉显示的 png 文件吗?

发布于 2024-07-17 00:34:58 字数 107 浏览 2 评论 0原文

有没有办法将 code_swarm 配置为仅创建 .png 文件。 我认为如果它在创建图像时不尝试显示,它会加快处理速度。

我查看了常见问题解答,但没有特别注意到任何相关内容。

Is there a way to configure code_swarm to only create the .png files. I think it would speed up the processing if it wasn't trying to display as it created the images.

I've looked in the FAQ, but didn't notice anything about that in particular.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

把人绕傻吧 2024-07-24 00:34:58

你是对的,它可能会加快速度,尽管我怀疑速度没有你希望的那么快。 官方问题跟踪器中有一个与此相关的未决问题:http:// code.google.com/p/codeswarm/issues/detail?id=37

总结一下:上次我检查时,Processing.org(我们用于绘图的库)不支持在无头模式下运行。 有几个人尝试过这样做,但运气不佳。 如果您唯一关心的是性能,我不会担心这个。 如果它运行太慢,我可以建议我自己的项目分支,它的速度要快得多(是的,我确实打算在某个时候将它集成回主 svn 存储库): http://github.com/rictic/code_swarm/

You're right, it probably would speed things up, though I suspect not by as much as you might hope. There's an open issue about this in the official issue tracker: http://code.google.com/p/codeswarm/issues/detail?id=37

To summarize: last time I checked, Processing.org – the library we use for drawing – doesn't support running in headless mode. A couple of people have looked into doing it without much luck. If your only concern is performance, I wouldn't worry about this. If it's running too slow, might I suggest my own fork of the project, it's remarkably faster (yes, I do intend on integrating it back into the main svn repo sometime): http://github.com/rictic/code_swarm/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文