   computeRatio: =>
     devicePixelRatio = window.devicePixelRatio or 1
     context = @renderer.gl or @renderer.context
-    backingStoreRatio = context.webkitBackingStorePixelRatio or
+    backingStoreRatio = context.backingStorePixelRatio or
+                        context.webkitBackingStorePixelRatio or
                         context.mozBackingStorePixelRatio or
                         context.msBackingStorePixelRatio or
-                        context.oBackingStorePixelRatio or
-                        context.backingStorePixelRatio or 1
+                        context.oBackingStorePixelRatio or 1
 
     @ratio = devicePixelRatio / backingStoreRatio
 

    b = hue2rgb(p, q, h - 1 / 3)

  ((r * 255) << 16) + ((g * 255) << 8) + (b * 255)

class Vector
  constructor: (@x, @y) ->


    @renderer.render @stage

    frame @draw
