Skip to main content
import io.nacular.doodle.application.Application import io.nacular.doodle.application.application import io.nacular.doodle.core.Display import io.nacular.doodle.core.view import io.nacular.doodle.drawing.Color.Companion.Black import io.nacular.doodle.drawing.Color.Companion.White import io.nacular.doodle.drawing.paint import io.nacular.doodle.drawing.text import org.kodein.di.instance //sampleStart class HelloDoodle(display: Display): Application { init { display += view { size = display.size render = { text("Hello, Doodle!", color = Black) } } display.fill(White.paint) } override fun shutdown() {} } //sampleEnd fun main() { application { HelloDoodle(display = instance()) } }


Doodle is still under active development, so there are going to be gaps and bugs. Please report issues, and submit feature requests.

You can also join the discussion on the #doodle Kotlin Slack channel.