[orx-poisson-fill] Fix demos, attempt 2

This commit is contained in:
Edwin Jakobs
2022-01-21 21:25:32 +01:00
parent 65cc33acda
commit df1b7acd46
4 changed files with 16 additions and 11 deletions

View File

@@ -14,6 +14,7 @@ sourceSets {
val openrndrVersion: String by rootProject.extra
val openrndrOS: String by rootProject.extra
val slf4jVersion:String by rootProject.extra
val demoImplementation by configurations.getting {}
val demoRuntimeOnly by configurations.getting {}
@@ -24,6 +25,7 @@ dependencies {
implementation("org.openrndr:openrndr-filter:$openrndrVersion")
demoImplementation("org.openrndr:openrndr-application:$openrndrVersion")
demoImplementation("org.openrndr:openrndr-extensions:$openrndrVersion")
demoRuntimeOnly("org.slf4j:slf4j-simple:$slf4jVersion")
demoRuntimeOnly("org.openrndr:openrndr-gl3:$openrndrVersion")
demoRuntimeOnly("org.openrndr:openrndr-gl3-natives-$openrndrOS:$openrndrVersion")
demoImplementation(sourceSets.getByName("main").output)

View File

@@ -19,8 +19,6 @@ import kotlin.math.sin
fun main() {
data class Thing(val color: ColorRGBa, var pos: Polar, val speed: Polar)
application {
program {
val dry = renderTarget(width, height) {