Introduce the `imageFitSub` function, enabling subsections of images to be drawn with fit and alignment capabilities. Added a demo showcasing its usage with grid-based rendering and updated dependencies with `orx-noise` for randomness support.
29 lines
853 B
Plaintext
29 lines
853 B
Plaintext
plugins {
|
|
org.openrndr.extra.convention.`kotlin-multiplatform`
|
|
}
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(project(":orx-parameters"))
|
|
implementation(project(":orx-shader-phrases"))
|
|
implementation(libs.openrndr.application)
|
|
implementation(libs.openrndr.draw)
|
|
implementation(libs.openrndr.filter)
|
|
implementation(libs.kotlin.reflect)
|
|
}
|
|
}
|
|
|
|
@Suppress("UNUSED_VARIABLE")
|
|
val jvmDemo by getting {
|
|
dependencies {
|
|
implementation(project(":orx-shapes"))
|
|
implementation(project(":orx-image-fit"))
|
|
implementation(project(":orx-noise"))
|
|
}
|
|
}
|
|
}
|
|
}
|