Fix demos

This commit is contained in:
Edwin Jakobs
2021-10-21 21:05:17 +02:00
parent 1a4952ef09
commit 9921857007
9 changed files with 28 additions and 28 deletions

View File

@@ -1,8 +1,10 @@
import org.openrndr.applicationSynchronous
import org.openrndr.application
import org.openrndr.extensions.Screenshots
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.gitarchiver.GitArchiver
fun main() = applicationSynchronous {
fun main() = application {
program {
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {

View File

@@ -1,11 +1,11 @@
import org.openrndr.Extension
import org.openrndr.Program
import org.openrndr.application
import org.openrndr.applicationSynchronous
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.olive.Olive
fun main() = applicationSynchronous {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -5,7 +5,6 @@ import org.openrndr.extra.noise.poissonDiskSampling
import org.openrndr.extra.triangulation.Delaunay
import org.openrndr.math.Vector2
import org.openrndr.shape.Circle
import org.openrndr.shape.Rectangle
fun main() {
application {