Building the Application and Making It Your Own

The quickest way to build on what you have learned in this chapter is to create directions for another craft project similar to paper folding in the presence of line drawings and the benefits of some photographs and video clips. You can build it step by step, creating the functions you need. It may turn out that some functions are what I call utility functions: functions used by other functions. You may also build up variables indicating positioning as you need them. An informal summary/outline of the origami fish application follows:

  • init : for initialization
  • donext and goback for moving forward and back through the steps
  • Utility functions for drawing specific types of lines
  • Utility functions ...

Get HTML5 and JavaScript Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.