Skip to contents

figurenumbers 0.1.0 (development)

Initial version with the following functions:

  • generate_math_problems() generates a numbered sequence of arithmetic problems (addition, subtraction, or multiplication), one problem per target answer.
  • numberGridGrob() creates a grid grob of a 10x10 grid of (small) circles representing the numbers 1 to 100 (in reading order).
  • gridsGrob() arranges several blank numberGridGrob() panels on a page, for printing sheets to hand-sketch candidate puzzle pictures on.
  • problemsGrob() creates a grid grob laying out arithmetic problems (as generated by generate_math_problems()) in long-form “stacked” style.
  • puzzleGrob() creates a grid grob of a complete puzzle page: arithmetic problems on one side and the number grid on the other side of a landscape page.
  • read_puzzles() reads puzzle definitions from a YAML file, defaulting to the puzzles bundled with this package.