20

I'm just jotting down an implementation of chapter 1 of "The Ray Tracer Challenge", literate style (open the dev tools to see the logs). The pseudocode maps quite straight forward to JS.

So, let's stop and reflect. The very direct translation from the pseudocode feels rather ugly. I think the whole model lends itself a some more object-orientated style. Next time.