Switch back to fun main()

This commit is contained in:
Edwin Jakobs
2021-08-30 17:18:54 +02:00
parent c5a95f8d17
commit 9a2f10f81d
187 changed files with 313 additions and 316 deletions

View File

@@ -8,7 +8,7 @@ import org.openrndr.extra.compositor.post
import org.openrndr.extra.fx.patterns.Checkers
import org.openrndr.extra.jumpfill.fx.InnerGlow
suspend fun main() = application {
fun main() = application {
program {
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {

View File

@@ -8,7 +8,7 @@ import org.openrndr.extra.compositor.post
import org.openrndr.extra.fx.patterns.Checkers
import org.openrndr.extra.jumpfill.fx.InnerGlow
suspend fun main() = application {
fun main() = application {
program {
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {

View File

@@ -9,7 +9,7 @@ import org.openrndr.math.transforms.transform
import org.openrndr.shape.Circle
import org.openrndr.svg.loadSVG
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -12,7 +12,7 @@ import org.openrndr.math.transforms.transform
import org.openrndr.svg.loadSVG
import kotlin.math.min
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -11,7 +11,7 @@ import org.openrndr.extra.jumpfill.ops.*
import org.openrndr.math.transforms.transform
import org.openrndr.svg.loadSVG
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -13,7 +13,7 @@ import org.openrndr.math.transforms.transform
import org.openrndr.shape.Circle
import org.openrndr.svg.loadSVG
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -17,7 +17,7 @@ import org.openrndr.svg.loadSVG
import kotlin.math.cos
import kotlin.math.sin
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -9,7 +9,7 @@ import org.openrndr.extra.jumpfill.fx.Skeleton
import org.openrndr.extra.jumpfill.fx.StraightSkeleton
import org.openrndr.extra.noise.simplex
suspend fun main() {
fun main() {
application {
configure {
width = 1280

View File

@@ -8,7 +8,7 @@ import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.jumpfill.fx.StraightSkeleton
import org.openrndr.extra.noise.simplex
suspend fun main() {
fun main() {
application {
configure {
width = 1280