简体   繁体   English

我在哪里可以找到有关新画布HTML元素如何工作的一些好信息?

[英]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元素创建一个简单的平台游戏。

Ajaxian has a great collection of articles / posts regarding new Canvas innovations and developments. Ajaxian有很多关于Canvas创新和发展的文章/帖子。 This can show you what others are already doing. 这可以向您展示其他人已经在做什么。

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.

相关问题 在哪里可以找到有关JavaScript术语的更多信息? - Where can I find more information about JavaScript terms? 如何在提交表单后显示 div 或 html 元素并从 Django 中的视图中检索一些信息 - How can I show a div or html element after submitting a form and retrieve some information from a view in Django 如何找到我在HTML5画布中单击的网格正方形元素 - How I can find which grid square element I clicked in HTML5 canvas 在哪里可以找到 HTML 元素的可能事件列表? - Where can I find a list of possible events for an HTML element? 如何在html画布上找到三角形的面积? - How can I find the area of the triangle on the html canvas? 如何通过live()获得有关绑定到元素的事件的信息? - How can I get information about events that are bound to an element via live()? 如何根据某些数据更改画布元素内的颜色? - How can I change the color inside a canvas element according to some data? 如何将页面中的两个或更多画布元素合并为一个画布元素,其中新画布元素的宽度是所有元素的总和? - How to combine two or more canvas element in a page into one canvas element where width of new canvas element is summation of all? 我在哪里可以找到好的D3事件和调度示例? - Where can I find good D3 event and dispatch examples? 如何确定HTML元素文本中“新行”的位置? - How can I determine the positions of “new lines” in the text of an HTML element?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM