Bachalo
Bachalo

Reputation: 7219

3D transform but using Canvas

Trying to achieve something like this http://attasi.com/labs/ipad/ which uses CSS transforms.

but using the Canvas object for greater compatibility. Does anyone know if this is possible?

Upvotes: 0

Views: 2156

Answers (1)

Camilo Martin
Camilo Martin

Reputation: 37898

Take a look at three.js, it can render 3D using mainly WebGL, but it supports a subset of stuff with <canvas>, SVG and even the plain DOM - check this demo that uses the DOM renderer.

Here are demos using canvas. Some guy made this which shows it can do textured, animated game-like 3D with canvas.

Also, you may want to check out a particle engine and a tweening engine to go with that, plus stats like FPS.

Upvotes: 2

Related Questions