     switch mode.color_mode
       when 'hi-res' then $('.multi-color').fadeOut 'fast'
       when 'multi-color' then $('.multi-color').fadeIn 'fast'
-    # Assign pixel values to each color source
+    # In multi-color mode, #color_sources >div#3 relates to pixel_value:3 but
+    # in hi-res mode, div#3 relates to pixel_value:1
+    # Attach the pixel_value to each color source
     $('#color_sources >div').each ( i, div ) ->
       $(div).data 'pixel_value', if mode.color_mode is 'multi-color' or i < 3 then i else 1
     @render()

        $(td).css 'background-color', Color::for_pixel_value( selected_character().pixel_at  row, column ).hex
    $('#color_sources >div:visible').each ( pixel_value, div ) ->
      $(div).css 'background-color', Color::for_pixel_value( pixel_value).hex




  editor = new Editor()
  macro = new Macro()
  animate = new Animation()
  palette = new Palette()

  # When multi-color mode is selected:
  #  + Background colors 1 and 2 should be revealed
