Writing Larger Programs
In this chapter we'll learn about tools for writing larger programs:
- giving names to values so we can reuse them; and
- working with programs out of a worksheet.
You will need to start your code with the following imports to make Doodle available.
import cats.effect.unsafe.implicits.global
import doodle.core.*
import doodle.image.*
import doodle.syntax.all.*
import doodle.image.syntax.all.*
import doodle.java2d.*