 		# Set all the defaults
 		@time ?= 1000
 		@curve ?= "linear"
-		@precision ?= 40
+		@precision ?= 30
 		
 		@curveValues = @_parseCurve @curve
+		@totalTime = @curveValues.length / @precision
 		@count = 0
 		# @animationId = utils.uuid()[..8]
 		

		@view.removeClass @animationName
		@emit "end"
		
		@_graphView?.visible = false
		
		# console.log "_cleanup", @view._currentAnimations
		

		# this or give an option to disable it, but for now it makes sens because 1)
		# you almost always want this and 2) we don't support simultaneous animations.
		
		# TODO: This doesn't work
		
		@view.animateStop()

		console.log "Animation.start #{@animationName} time = #{@a}" if @debug

		@view._currentAnimations.push @

		# TODO: test if we are trying to animate something that cannot animate
		
