For best results, use phosphorus: http://phosphorus.github.io/#71252892 Click and drag to move.
I'm working on a raytracing engine. This is a demo of a method to have the image gradually increase in quality over time, allowing you to preview your image quickly before you let it render in a higher quality. I am using another technique, where the number of circles plotted per frame is variable, dependent on how fast your computer is. This reduces lag on slower systems without needing any kind of quality slider.