 		
 
 	)
+mouseMove = (e) ->
+	mouse.x = e.clientX / window.innerWidth
+	mouse.y = e.clientY / window.innerHeight
 update = () ->
-	move(4)
+	amount = (1 - mouse.y ) * 8 + 1
+	move(amount)
 	camera.updateMatrix()
 	TWEEN.update()
 

	document.addEventListener('mousewheel', (scrollEvent) -> 
		move( scrollEvent.wheelDelta ) 
	, false) 
move = (amount) ->
	_.each(sprites, (sprite) ->
		sprite.position.z -= amount

zRange = null
zDensity = 50 # defines how much z range we want per image
numLoadedImages = 0
overImage = true;
mouse = {x:0.5, y: 0.5}
mouseOver = (e) ->
	overImage = true
mouseOut = () ->
	overImage = false
newImageLoaded = (image) ->
	#console.log 'new image'
	#console.log image
