We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
您要求的所有效果都可以使用 Java 2D 相当简单地完成,并且 Java2D 在某种程度上是硬件加速的。 Filthy Rich Clients 一书展示了如何实现所有这些效果以及许多其他效果。 画家在SwingX 也实现了其中一些效果。
另一种可能性是JavaFx。它内置了很多效果。一年半前我尝试的时候,它仍然有点慢,但从那时起至少已经发布了一个版本。现在可能性能更高。它构建在 Java2D 之上,因此它应该能够利用 Java2D 中的硬件加速。
至于全屏支持这里有更多信息。
All of the effects you ask for can be done with Java 2D fairly simply and Java2D is to some degree hardware accelerated. The book Filthy Rich Clients shows how to implement all of these effects and many others. Painters in the SwingX has also implemented several of these effects.
Another possibility is JavaFx. It has a lot of effects built in. A year and a half ago when I tried it, it was still a little slow, but at least one version has been released since then. It may be more performant now. It's built on top of Java2D, so it should be able to take advantage of the hardware acceleration in Java2D.
As far as full screen support here's more information.
也许处理(主页)可能是一个很好的权衡。
Maybe Processing (homepage) can be a good tradeoff.
不是真正的图形库,而是高级小程序和图形库:
PulpCore
确保获取最新版本(甚至可以通过以下方式获取源代码) Mercurial 并自己构建),因为您提到的滤镜效果(模糊等)在早期版本中不可用。
我知道这可能不完全是您正在寻找的;它不是一种处理替代方案,但它可能是更好的选择,具体取决于您打算做什么。
Not really a graphics library but rather an advanced applet AND graphics library:
PulpCore
Be sure to grab a quite recent version (maybe even fetch the source via mercurial and build it yourself) because the filter effects you mentioned (blur etc.) aren't available in earlier versions.
I know it might not be exactly what you're looking for; it is not a processing alternative, but it might be the better choice, depending on what you're planning to do.
看看 http://processing.org
Take a look at http://processing.org