 
   constructor: ->
     # Create the <canvas>, which depends upon the "scale" setting
-    @canvas = elm 'canvas', width:8*scale, height:8*scale
+    @canvas = elm 'canvas', width:24*scale, height:21*scale
     $('#animation_section').append @canvas
     # When the "Frames" field is changed..
     @frames_field = $ '#animation_section input'


# PLAN:
# - The animated character / sprite should be larger
# - Reduce clutter: Remove Upload, Download and hires/muco mode selection UI since don't need it all the time
# - In Sprite mode, could use the last ( unused) byte of each 64-byte block to store the changeable color
# + indicate visually on the charset grid which character is selected
# - mirror, flip

  animate: =>
    character = character_set.characters[ @first_frame + @frame]
    if character
      @canvas.getContext('2d').drawImage  character.internal_canvas, 0, 0, @canvas.width, @canvas.height
      @frame += 1
      @frame = 0 if @frames_to_play <= @frame

