       @smoothedX.push frame.avg.x
       @smoothedY.push frame.avg.y
 
-      #console.log frame.avg.x, @smoothedX.top()
+      e =
+        rawx: frame.avg.x
+        rawy: frame.avg.y
+        x:    @smoothedX.top()
+        y:    @smoothedY.top()
+
+      @emit 'gaze', e
 
       @indicator.move @smoothedX.top(), @smoothedY.top()
 

#
# @class EyeJS

module.exports = class EyeJS

  constructor: (opts = {}) ->


SmoothingBuffer = require './SmoothingBuffer'
Indicator   = require './Indicator'
Connection  = require './Connection'
EventEmitter = (require 'events').EventEmitter

S_ALPHA = 0.2

