Friday, September 4, 2009

Playing with javascript: ASCII 3d model viewer

I found very interesting websites that use javascript in a unusual way. Normally, javascript is known as a primitive script language with slow performance. But it can at least do the same as real programming languages.

See these links:
http://www.benryves.com/bin/poly.htm
http://maettig.com/code/javascript/asciifire.html
http://www.slimeland.com/raytrace

The first one inspired me to use it for every possible 3d model and not only the given one. The simplest possible 3d file format is wavefront .obj, so I added an importer, made a user interface and viewed some of my models.

Try it out: ASCII 3D Art Note: This takes much of your computers performance, so use only simple triangulated models with less than 200 faces. (Don't use Internet Explorer, which is not able to support web standards)

0 Kommentare:

Post a Comment