How to draw beautiful things in the browser