From 86e05110cc652c7c729672f58655a8e8585b072d Mon Sep 17 00:00:00 2001 From: Noel Welsh Date: Tue, 24 May 2016 14:59:33 +0100 Subject: Initial import of template --- src/main/scala/Example.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/scala/Example.scala (limited to 'src/main/scala/Example.scala') diff --git a/src/main/scala/Example.scala b/src/main/scala/Example.scala new file mode 100644 index 0000000..faa158a --- /dev/null +++ b/src/main/scala/Example.scala @@ -0,0 +1,12 @@ +import doodle.core._ +import doodle.core.Image._ +import doodle.syntax._ +import doodle.jvm.Java2DCanvas._ +import doodle.backend.StandardInterpreter._ + +// To use this example, open the SBT console and type: +// +// Example.image.draw +object Example { + val image = Circle(10) on Circle(20) on Circle(30) +} -- cgit v1.2.3