     @colors = new ColorRotation
     @indicator = new Indicator(this)
     @grid_model = new PuzzleGridModel(this)
+    @mask = new MissingPiecesMask(this)
     get_puzzle_pattern(this)
 
 

    @color = @puzzle.colors.next_color()


  draw_mask: () ->
    @hex_draw.set_context("canvas")
    for bb in [1..10]
      for aa in [1..24]
        @hex_draw.fill_hex_ab(aa,bb,@color) if @grid[bb][aa] in @puzzle.pz_status.unset_pieces




    photo = @puzzle.puzzle_view.photo
    @photo_clip_context.drawImage(photo,xx,yy,@hex_box.width,@hex_box.height,0,0,@hex_box.width,@hex_box.height)

    console.log "CALL reset_mask() from cut_piece_from_photo"
    @puzzle.mask.reset_mask(@puzzle.grid)
    # @mask = new MissingPiecesMask(@puzzle, @puzzle.grid)
    # pm_img = document.getElementById("piece-mask")
    context = @pattern.img.getContext('2d')
    context.globalCompositeOperation = 'source-atop'
