This is a JavaScript port of the path tracing algorithm from Peter Shirley's (wonderful!) Ray Tracing in One Weekend.
By default, it renders to an image scaled down to 0.25 times the window size.
You can adjust this by adding a parameter ?scale=<factor>
to the URL.
(Note that the UI will be unresponsive during each pass.)
Code is available here.