padolsey/sonic.js — pull request #6 by asiFarran (2013-11-13 10:35:30+00:00)
Title: Added support for crisp rendering on hi-density screens

Currently, rendering on hi pixel density screens (e.g retina) looks pixelated and low-res.
I've added a little code to support variable pixel density out of the box and ensure crisp rendering on any screen.
The pixel density ration is calculated automatically, but can also be set explicitly via a 'pixelRatio' property in the Options hash passed to the ctor.