Switch back to fun main()
This commit is contained in:
@@ -14,7 +14,7 @@ import org.openrndr.shape.ShapeContour
|
||||
* The created contours are horizontal and vertical in "bezier-patch space" but
|
||||
* are rendered deformed following the shape of the bezier patch.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.openrndr.shape.ShapeContour
|
||||
* but one can manually create any other 4-segment closed contour
|
||||
* to use in bezier patches.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.openrndr.shape.ShapeContour
|
||||
* In this case the contours are regular stars and the bezier patch
|
||||
* is created using a circular contour with the required 4 segments.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.openrndr.shape.Circle
|
||||
* You can think of bezierPatch.position() as requesting points
|
||||
* in a wavy flag (the bezier patch) using normalized uv coordinates.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -20,7 +20,7 @@ import org.openrndr.shape.Segment3D
|
||||
* The created contours are horizontal and vertical in "bezier-patch space" but
|
||||
* are rendered deformed following the shape of the bezier patch.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.openrndr.extra.shapes.bezierPatch
|
||||
import org.openrndr.extra.shapes.drawers.bezierPatch
|
||||
import org.openrndr.shape.Circle
|
||||
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
program {
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.openrndr.extra.shapes.drawers.bezierPatch
|
||||
import org.openrndr.extras.color.spaces.toOKLABa
|
||||
import org.openrndr.shape.Circle
|
||||
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 720
|
||||
|
||||
@@ -15,7 +15,7 @@ import org.openrndr.shape.Circle
|
||||
import org.openrndr.shape.Rectangle
|
||||
import kotlin.math.min
|
||||
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 720
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.openrndr.extra.shapes.drawers.bezierPatches
|
||||
* but one can manually create any other 4-segment closed contour
|
||||
* to use in bezier patches.
|
||||
*/
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -3,7 +3,7 @@ import org.openrndr.color.ColorRGBa
|
||||
import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.shapes.grid
|
||||
|
||||
suspend fun main() {
|
||||
fun main() {
|
||||
application {
|
||||
configure {
|
||||
width = 800
|
||||
|
||||
@@ -6,7 +6,7 @@ import org.openrndr.extra.shapes.regularPolygon
|
||||
import org.openrndr.math.map
|
||||
import kotlin.math.cos
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
program {
|
||||
// -- this block is for automation purposes only
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
|
||||
@@ -5,7 +5,7 @@ import org.openrndr.extra.shapes.regularStar
|
||||
import kotlin.math.cos
|
||||
import kotlin.math.sin
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
program {
|
||||
// -- this block is for automation purposes only
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.openrndr.shape.contains
|
||||
import kotlin.math.cos
|
||||
import kotlin.math.sin
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
program {
|
||||
// -- this block is for automation purposes only
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
|
||||
@@ -4,7 +4,7 @@ import org.openrndr.extensions.SingleScreenshot
|
||||
import org.openrndr.extra.shapes.RoundedRectangle
|
||||
import kotlin.math.cos
|
||||
|
||||
suspend fun main() = application {
|
||||
fun main() = application {
|
||||
program {
|
||||
// -- this block is for automation purposes only
|
||||
if (System.getProperty("takeScreenshot") == "true") {
|
||||
|
||||
Reference in New Issue
Block a user