Tijs' site
Tijs' site

Javascript demo 5

This demo shows a scene rendered in 3D. I didn't make use of 3D libraries. Instead, the scene is calculated in javascript, point by point. This is like demo 4, but with more sophisticated routines to calculate which shape appears in front of which shape. Also, the code is object-oriented.

Move: w+s+a+d
Move up and down: r+f
Look: i+k+j+l
Move letters up and down: t+g

aplane: 0
aair: 0
xobs: 0
yobs: 0
zobs: 0
scene render time: 0