[orx-temporal-blur] Fix TemporalBlur compatibility with ProgramImplementation

This commit is contained in:
Edwin Jakobs
2023-01-18 16:34:16 +01:00
parent e8640989b5
commit b4e2f6a212
3 changed files with 3 additions and 14 deletions

View File

@@ -5,16 +5,10 @@ import org.openrndr.math.Polar
fun main() = application {
program {
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {
this.outputFile = System.getProperty("screenshotPath")
}
}
extend(TemporalBlur()) {
samples = 10
duration = 0.9
}
extend {
drawer.circle(Polar(seconds * 360.0, 200.0).cartesian + drawer.bounds.center, 50.0)
}