Excanvas:我可以以接近正常(对于
我最近接触到了 Google 的 Excanvas 东西...对于那些更糟糕的浏览器来说,拥有 一切都非常好,但我想知道它是如何优化的;我可以在它上面使用processing.js(可能)并获得接近我在Chrome/FireFox等本机画布上获得的帧速率吗?
谢谢,
詹姆斯
I've recently come across Google's Excanvas stuff... It's all very well and good having <canvas>
for the turdier browsers out there, but I was wondering how optimised it was; can I use processing.js on it (probably) and get framerates close to those I'd get on a native canvas in something like Chrome/FireFox?
Thanks,
James
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这主要取决于执行代码的机器的坚固性,以及运行代码的 JavaScript 解释器的速度。
ExtCanvas 意味着额外的开销,并且某些版本的 Chrome 和 Firefox 支持画布渲染的硬件加速。
这使得使用 ExtCanvas 不太可能产生与画布标签相同的结果(就速度而言)
This will mostly depend on the sturdiness of the machine your code gets executed on, and the speed of the javascript interpreter that will run your code.
ExtCanvas means extra overhead, and some versions of Chrome and Firefox support hardware acceleration of their canvas rendering.
This makes it unlikely that using ExtCanvas will yield the same results (as far as speed is concerned) as a canvas tag