[英]Where can I find some good information about how the new canvas HTML element works?
I keep reading about how great this new Canvas element for HTML5 is and I see amazing demos done with just javascript and no flash. 我一直在阅读这个HTML5的新Canvas元素有多棒,我看到只用javascript和没有flash的惊人演示。 Where can I find some good information on how to some of these things myself? 我在哪里可以找到一些关于如何处理这些事情的好信息?
The specification defines the API and behaviour. 规范定义了API和行为。
This tutorial should help you get started. 本教程应该可以帮助您入门。
There's the original Apple tutorial 这是最初的Apple教程
Also the draft html5 spec 还有草案html5规范
And of course you can (as people have) ask questions about specific features, etc on SO :D 当然,你可以(就像人们一样)在SO:D上询问有关特定功能等的问题
I've been using this HTML5 Canvas Cheat Sheet, it is thorough and easy to read. 我一直在使用这个HTML5 Canvas Cheat Sheet,它非常简单易读。
http://blog.nihilogic.dk/2009/02/html5-canvas-cheat-sheet.html http://blog.nihilogic.dk/2009/02/html5-canvas-cheat-sheet.html
这个页面是一个14部分系列,向您展示如何使用canvas元素创建一个简单的平台游戏。
This isn't super deep, but it is easy to read and gives great examples: 这不是非常深刻,但它易于阅读并提供了很好的例子:
https://developer.mozilla.org/en/canvas_tutorial https://developer.mozilla.org/en/canvas_tutorial
It is where I got my start (I now have a couple iOS apps out there using js + canvas) 这是我开始的地方(我现在有几个使用js + canvas的iOS应用程序)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.