Add collectScreenshots task to kotlin-jvm convention

This commit is contained in:
Edwin Jakobs
2023-04-04 20:50:41 +02:00
parent 3cef8d202a
commit 5fe2d30f80
6 changed files with 6 additions and 52 deletions

View File

@@ -1,25 +0,0 @@
import org.openrndr.animatable.Animatable
import org.openrndr.animatable.easing.Easing
import org.openrndr.application
import org.openrndr.math.Vector2
import org.openrndr.shape.contour
fun main() = application {
program {
val a = object {
var x = 0.0
}
animate {
updateAnimation()
a::x.animate(1000.0, 5000, Easing.CubicInOut)
a::x.complete()
a::x.animate(0.0, 5000, Easing.CubicInOut)
}
extend {
drawer.circle(a.x, height/2.0, 40.0)
}
}
}