HTML canvas JavaScript库和框架中的当前技术水平是什么? [英] What is the current state of the art in HTML canvas JavaScript libraries and frameworks?

查看:129
本文介绍了HTML canvas JavaScript库和框架中的当前技术水平是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在研究在新的HTML 5应用程序中使用画布的选项,并且想知道HTML画布JavaScript库和框架中当前的最新技术是什么?

I am currently investigating options for working with the canvas in a new HTML 5 application, and was wondering what is the current state of the art in HTML canvas JavaScript libraries and frameworks?

特别是,是否有支持游戏开发所需的类型的框架 - 复杂的动画,管理场景图,处理事件和用户交互?

In particular, are there frameworks that support the kind of things needed for game development - complex animation, managing scene graphs, handling events and user interactions?

愿意考虑商业和开源产品。

Also willing to consider both commercial and open source products.

推荐答案

我一直在工作 fabric.js - 一个画布库,帮助完全正确 - 操纵画布上的对象,通过处理事件和用户交互。尚未发布,但请查看一个简单的预览演示

I've been working on fabric.js — a canvas library to help with exactly that — manipulating objects on canvas, by handling events and user interactions. It's not released yet, but take a look at a simple preview demo.

您还可以在此设计编辑器中查看此操作它最初是为创建的。

You can also see it in action in this design editor, which it was originally created for.

编辑:该项目是现在在github上可用(在MIT许可下开源)

The project is now available on github (open-sourced under MIT License)

要开始,请查看:

  • Demos (simple & complex, with code to show how they're done)
  • Fabric.js presentation at FalsyValues (and another one at BK.js)
  • Wiki on github (including FAQ)
  • Documentation
  • Google Group (ask any question there)
  • Fabric.js on twitter (or short questions via twitter)
  • Introduction to Fabric.js: Part 1 (article on ScriptJunkie)
  • Introduction to Fabric.js: Part 2 (article on ScriptJunkie)

Fabric如何与其他JavaScript canvas库进行比较?这是比较表

How does Fabric compare to other Javascript canvas libraries? Here's a comparison table.

这篇关于HTML canvas JavaScript库和框架中的当前技术水平是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆