If you haven't already, download the files for this exercise: composition.zip
Learn about the composition script's structure and see how we're creating object literals to define the characteristics of our lines and shapes.
Next, continuing learning about object literals.
Learn about self-executing anonymous functions in the Scope and Closure tutorial.