Files
orx/openrndr-demos/src/demo/kotlin/DemoCircleBatch01.kt
2021-08-30 17:18:54 +02:00

18 lines
515 B
Kotlin

import org.openrndr.application
import org.openrndr.color.ColorRGBa
/*
This demo just verifies that drawing a single circle still works with revamped circle drawing code
*/
fun main() = application {
program {
extend {
drawer.clear(ColorRGBa.GRAY)
drawer.fill = ColorRGBa.PINK
drawer.stroke = ColorRGBa.WHITE
drawer.strokeWeight = 2.0
drawer.circle(100.0, 100.0, 50.0)
drawer.rectangle(100.0, 100.0, 50.0, 50.0)
}
}
}