Upgrade to OPENRNDR 0.4 snapshot

This commit is contained in:
Edwin Jakobs
2021-06-22 11:08:07 +02:00
parent 579ddf9bb5
commit 9435907ef9
339 changed files with 460 additions and 497 deletions

View File

@@ -11,7 +11,7 @@ dependencies {
api project(":orx-parameters")
implementation project(":orx-color")
implementation project(":orx-shader-phrases")
demoImplementation("org.openrndr:openrndr-core:$openrndrVersion")
demoImplementation("org.openrndr:openrndr-application:$openrndrVersion")
demoImplementation("org.openrndr:openrndr-extensions:$openrndrVersion")
demoRuntimeOnly("org.openrndr:openrndr-gl3:$openrndrVersion")
demoRuntimeOnly("org.openrndr:openrndr-gl3-natives-$openrndrOS:$openrndrVersion")

View File

@@ -10,7 +10,7 @@ import org.openrndr.shape.Rectangle
* Example of 5 gradient styles.
* NPointLinear and NPoingGradient have separate demos.
*/
fun main() {
suspend fun main() {
application {
configure {
width = 1000

View File

@@ -7,7 +7,7 @@ import org.openrndr.extra.shadestyles.radialGradient
import org.openrndr.extras.color.spaces.toOKLABa
import kotlin.math.cos
fun main() {
suspend fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -17,7 +17,7 @@ import kotlin.math.cos
* on a static shape (a circle for example) or you can animate a shape
* with a static gradient.
*/
fun main() {
suspend fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -15,7 +15,7 @@ import kotlin.math.sin
* uniformly between 0.0 and 1.0 and then animated towards one of
* the ends over time using pow() and sin(seconds).
*/
fun main() {
suspend fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -12,7 +12,7 @@ import kotlin.random.Random
* Any of the properties can be animated, including colors and points.
* See DemoNPointLinearGradient01.kt for an example of animated properties.
*/
fun main() {
suspend fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {

View File

@@ -5,7 +5,7 @@ import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.shadestyles.radialGradient
import kotlin.math.cos
fun main() {
suspend fun main() {
application {
program {
if (System.getProperty("takeScreenshot") == "true") {