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

@@ -12,7 +12,7 @@ import org.openrndr.extra.noise.gradient
import org.openrndr.shape.contour
typealias IDDD_D = ((Int, Double, Double, Double) -> Double)
suspend fun main() = application {
fun main() = application {
configure {
width = 720
height = 720

View File

@@ -8,7 +8,7 @@ import org.openrndr.math.Vector2
import kotlin.math.absoluteValue
suspend fun main() {
fun main() {
application {
program {
val cb = colorBuffer(width, height)

View File

@@ -7,7 +7,7 @@ import org.openrndr.extra.noise.simplex
import org.openrndr.math.Vector3
import kotlin.math.absoluteValue
suspend fun main() {
fun main() {
application {
program {
val cb = colorBuffer(width, height)

View File

@@ -5,7 +5,7 @@ import org.openrndr.extra.noise.poissonDiskSampling
import org.openrndr.math.Vector2
import org.openrndr.shape.Circle
suspend fun main() {
fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -5,7 +5,7 @@ import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.noise.simplex
import org.openrndr.shape.contour
suspend fun main() = application {
fun main() = application {
configure {
width = 720
height = 720