     @table.do rotate:{ x:45 }, around:{ y:height/2 }
 
     window.viewport = d3.select ".viewport"
-    draw()
-    @changePlayer()
+    setInterval (()-> draw()), 16
 
 
  # draw function

        .append("div")
        .attr("class", "card")
        .on("mousedown", (d) ->
            if d3.event.shiftKey
                d.showing = !d.showing
                d.parent = if d.showing then table else new CoordinateSystem parent: null 
            else
                d.clicked = !d.clicked
                # d.do rotate:{ x:  (if d.clicked then 90 else -90 ) }
                d.do(
                    rotate     :{ x:  (if d.clicked then 179 else 181 ) }
                    around     :{ y: 0 }
                    translate  :{ y: -153 }
                )
            draw()
        );
    d3cardsEnter
        .append("div")

        .append("div")
        .attr("class", "table")
    d3table
        .style("-webkit-transform", (d) -> d.absoluteMatrix())

    d3cards = viewport.selectAll(".card").data(@cards)        
