My adventures with PBRT in JavaScript.