 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


	sp.position.set( xRange(Math.random()), yRange(Math.random()), zRange(Math.random()) )
	sprites.push(sp)

	scene.add(sp)
	return sp	
initView = (_assets, _scene, _camera) ->
	assets = _assets

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