Bump to OPENRNDR 0.3.44-rc.11, add colorSequence

This commit is contained in:
Edwin Jakobs
2020-08-21 15:06:59 +02:00
parent 48730123ba
commit 158ae715e4
9 changed files with 292 additions and 23 deletions

View File

@@ -16,7 +16,7 @@ fun main() {
extend {
drawer.shadeStyle = radialGradient(
ColorRGBa.PINK,
ColorRGBa.PINK.toHSVa().shiftHue(180.0).scaleValue(0.5).toRGBa(),
ColorRGBa.PINK.toHSVa().shiftHue(180.0).shade(0.5).toRGBa(),
exponent = cos(seconds)*0.5+0.5
)
drawer.rectangle(120.0, 40.0, 400.0, 400.0)