 			edge: pieceEdge
 			group: pieceGroup
 
+	###
+	Mouse events
+	###
+
 	actualPiece = null
 	dragging = false
 

	pieces = []

	for i in [0..1]
		pieceEdge = new P.Shape.Rectangle rectangle
		pieceEdge.set
			strokeColor: 'black'
			strokeWidth: 0
			selected: true

		pieceBackground = new P.Raster

# Prevent iOS Safari from doing the scroll thing
document.body.addEventListener 'touchmove', (event) ->
	event.preventDefault()

# Anonymous function to map paper to P
((P) ->
	canvas = document.getElementById 'canvas'
	P.setup canvas

	# Set the background image
	background = new P.Raster
		source: '//hufkens.net/wp-content/uploads/2012/10/bumba-win8.png'
		position: new P.Point P.view.center.x, .7 * P.view.center.y
