Tijs' site
Tijs' site

Javascript demo 4

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. The only thing that's not perfect is the calculation of distance of every polygon. So it's not always correctly calculated which polygon appears in front of another polygon. This was corrected in demo 5.

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

aplane: 0
aair: 0
xobs: 0
yobs: 0
zobs: 0