3

I want to write chess in JavaScript but I am pretty new to JavaScript. Can somebody tell me good 2d library for JavaScript if exists ? Is there possible to write 3d objects with JavaScript ? Any advice is helpful

Jennifer
  • 33
  • 3
  • possible duplicate of [Javascript drawing library?](http://stackoverflow.com/questions/96486/javascript-drawing-library) – Sani Huttunen Jul 07 '11 at 18:32

2 Answers2

2

You should take a look at Raphaël and processing.js.

The processing.js reference lists a few 3d primitives so you can render 3d objects, at least in a limited manner.

Justin Ethier
  • 131,333
  • 52
  • 229
  • 284
1

Re: 3D objects in JS, Check out three.js for an excellent 3d library. It supports WebGL, Canvas, SVG rendering (WebGL being significantly faster in browser that support it).

Get a new browser if necessary (e.g. chrome dev build) and check out some of the webgl demos.