Bump to OPENRNDR 0.3.45-rc.6

This commit is contained in:
Edwin Jakobs
2020-12-25 09:13:50 +01:00
parent 0b2d8991db
commit d39e1d0783
8 changed files with 175 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.shape.ClipMode
import org.openrndr.shape.drawComposition
fun main() {
application {
program {
val cd = drawComposition {
fill = null
clipMode = ClipMode.REVERSE_DIFFERENCE
circle(width / 2.0-50.0, height / 2.0, 100.0)
circle(width / 2.0+50.0, height / 2.0, 100.0)
fill = ColorRGBa.BLACK
circle(width / 2.0, height / 2.0, 100.0)
}
extend {
drawer.clear(ColorRGBa.PINK)
drawer.composition(cd)
}
}
}
}