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

@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
/**
* This example requires a `runway/BASNet` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 331
height = 400

View File

@@ -12,7 +12,7 @@ import org.openrndr.math.smoothstep
* This example requires a `runway/BigBiGAN` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 512
height = 256

View File

@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.*
* generated image back into the model (with an additional distortion).
* This example requires a `runway/BigBiGAN` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 512
height = 512

View File

@@ -12,7 +12,7 @@ import java.io.File
* This example requires a `runway/AttnGAN` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -12,7 +12,7 @@ import java.io.File
* This example requires a `runway/AttnGAN` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -10,7 +10,7 @@ import org.openrndr.extra.runway.*
* This demonstrates the body estimation model of DensePose
* This example requires a `runway/DensePose` model active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 512
height = 512

View File

@@ -12,7 +12,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
* This example requires a `reiinakano/DeOldify` model active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 1280
height = 360

View File

@@ -14,7 +14,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
* This example requires a `reiinakano/DeOldify` model active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 1280
height = 480

View File

@@ -10,7 +10,7 @@ import org.openrndr.ffmpeg.VideoPlayerFFMPEG
import org.openrndr.math.Vector2
import org.openrndr.resourceUrl
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -15,7 +15,7 @@ import java.net.URL
* a `runway/AttnGAN` model active in Runway on port 8001
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -15,7 +15,7 @@ import org.openrndr.math.Vector2
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -13,7 +13,7 @@ import org.openrndr.extra.runway.runwayQuery
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -18,7 +18,7 @@ import org.openrndr.shape.Rectangle
* This example requires a `runway/DenseCap` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 576

View File

@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
/**
* This example requires a `runway/Person-Segmentation` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 331
height = 400

View File

@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.runwayQuery
* This example requires a `runway/StyleGAN` model to be active in Runway.
* This also works with `eryksalvaggio/Ascinte_Seated`
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 512
height = 512

View File

@@ -14,7 +14,7 @@ import java.io.File
* This example requires a `runway/GPT-2` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 768
height = 768

View File

@@ -5,7 +5,7 @@ import org.openrndr.extra.runway.*
/**
* This example requires a `runway/U-2-Net` model to be active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 305
height = 400

View File

@@ -9,7 +9,7 @@ import org.openrndr.extra.runway.*
* This demonstrates the body estimation model of PoseNet
* This example requires a `runway/PoseNet` model active in Runway.
*/
suspend fun main() = application {
fun main() = application {
configure {
width = 512
height = 512