Writing Larger Programs

We're getting to the point where it's inconvenient to type programs into the console. In this chapter we'll learn about two tools for writing larger programs:

<div class="callout callout-info"> If you run the examples from the SBT console within Doodle they will just work. If not, you will need to start your code with the following imports to make Doodle available.

import doodle.core._
import doodle.image._
import doodle.syntax.all._
import doodle.image.syntax.all._
import doodle.java2d._

</div>

Working Within the Console→