           dom = new DomBuilder
           dom.tag("div").CLASS("pattern-background").append(canv).end()
           dom.tag("ul")
+          dom.tag("li").text("Result: ").text(result.resolution).end()            
           dom.tag("li").text("Pattern type: ").text(spaceshipType result.dx, result.dy).end()
           dom.tag("li").text("Population: #{cells.length} cells").end()
           dom.tag("li").text("Period: ").text(result.period ? "unknown").end()

    population_invariance = Rules.invariance_type rule
    invertible = Rules.is_invertible rule
    dualTransform = getDualTransform rule
    ######### Report generatio part ############
    dom = new DomBuilder


  #//////////////////////////////////////////////////////////////////////////////
  # Rule analysis
  #//////////////////////////////////////////////////////////////////////////////
  cells_icon = (value) -> "cellicon icon-cells_#{ value.toString(16) }"
  show_rule_diagram = (rule, element) ->
      #rule must be array of 1 6 integers
      throw new Error ("Function must be array of 16 elements, not\n" + rule)  unless rule.length is 16

