Screen2.0

 
 
 

hints & tips, links // 2011.02.10 08:57:55 [hh]

"EaselJS": Programmieren wie in Flash, aber in HTML5

Wer mit dem HTML-5-Canvas-Element Größeres vorhat, etwa Animationen, Visualisierung, Spiele oder komplexere Anwendungen mit Drag-and-Drop, der sollte sich einmal "EaselJS" ("a javascript library for working with the html5 canvas element") von Grant Skinner genauer anschauen. Das API orientiert sich dabei vage an "Flash" und "ActionScript 3"; es gibt DisplayObject, Stage, Shape, Container, Text, Bitmap, BitmapSequence, Graphics und Shape Objekte.

Grant Skinner über sein Projekt: "The new Canvas element in HTML5 is powerful, but it can be difficult to work with. It has no internal concept of discrete display elements, so you are required to manage updates manually. The Easel Javascript library provides a retained graphics mode for canvas including a full, hierarchical display list, a core interaction model, and helper classes to make working with Canvas much easier."

Direkter Link: easeljs.com

 

Werbung