[orx-color] Add color transforms from OPENRNDR, add colorMatrix {}

This commit is contained in:
Edwin Jakobs
2025-02-26 18:01:36 +01:00
parent ef1b8a6493
commit 0046348410
15 changed files with 336 additions and 8 deletions

View File

@@ -19,6 +19,11 @@ kotlin {
}
}
val jvmDemo by getting {
dependencies {
implementation(project(":orx-color"))
}
}
@Suppress("UNUSED_VARIABLE")
val jvmTest by getting {

View File

@@ -1,8 +1,8 @@
import org.openrndr.application
import org.openrndr.color.ColorRGBa
import org.openrndr.draw.grayscale
import org.openrndr.draw.tint
import org.openrndr.drawImage
import org.openrndr.extra.color.colormatrix.grayscale
import org.openrndr.extra.color.colormatrix.tint
import org.openrndr.extra.propertywatchers.watchingImagePath
import org.openrndr.extra.propertywatchers.watchingProperty