     @reset()
     @photo = new Image()
     @photo.onload = =>
+      console.log ">>>>>>>>>>>>> @photo.onload EVENT <<<<<<<<<<<<<"
       @draw_photo()
     @photo.src = '/pz-photo'
 

    console.log "   @unset_pieces = #{up}"
    @pieces_in_puzzle = 16
    @pieces_set = 0
    @puzzle.mask.reset_mask(@puzzle.grid)
    @puzzle.ui_status.reset()
    @puzzle.puzzle_view.reset()
    @start_first_piece()


  set_piece: () ->



  fill_hex_ab: (a,b,color) ->
    xy = @get_hex_xy(a,b)
    @fill_hex_xy(xy[0],xy[1],color)


  ctx_fill_hex_ab: (ctx,a,b,color) ->
    #  ### <9> ###  #
    cnv = document.getElementById("puzzle-widget")
    @context = cnv.getContext('2d')
    xy = @get_hex_xy(a,b)
    @fill_hex_xy(xy[0],xy[1],color)

