Remove unused imports (#344)

This commit is contained in:
Abe Pazos
2024-06-24 10:02:34 +02:00
committed by GitHub
parent b7ee7dcf79
commit c5fb56626c
150 changed files with 127 additions and 304 deletions

View File

@@ -1,8 +1,7 @@
import org.openrndr.extra.fx.color.Duotone
import org.openrndr.application
import org.openrndr.draw.createEquivalent
import org.openrndr.draw.loadImage
import org.openrndr.math.mod_
import org.openrndr.extra.fx.color.Duotone
fun main() {
application {
@@ -13,14 +12,10 @@ fun main() {
val duotone = Duotone()
extend {
duotone.labInterpolation = seconds.mod(2.0) < 1.0
duotone.apply(image, filteredImage)
drawer.image(filteredImage)
}
}
}
}

View File

@@ -1,9 +1,7 @@
import org.openrndr.extra.fx.color.Duotone
import org.openrndr.application
import org.openrndr.draw.createEquivalent
import org.openrndr.draw.loadImage
import org.openrndr.extra.fx.color.Posterize
import org.openrndr.math.mod_
fun main() {
application {
@@ -16,10 +14,7 @@ fun main() {
posterize.levels = 2
posterize.apply(image, filteredImage)
drawer.image(filteredImage)
}
}
}
}

View File

@@ -1,7 +1,6 @@
import org.openrndr.application
import org.openrndr.draw.colorBuffer
import org.openrndr.draw.createEquivalent
import org.openrndr.extensions.SingleScreenshot
import org.openrndr.extra.fx.distort.FluidDistort
import org.openrndr.extra.fx.patterns.Checkers

View File

@@ -1,9 +1,7 @@
import org.openrndr.WindowMultisample
import org.openrndr.application
import org.openrndr.extra.fx.Post
import org.openrndr.extra.fx.blend.Add
import org.openrndr.extra.fx.blur.ApproximateGaussianBlur
import org.openrndr.shape.Circle
import kotlin.math.cos
fun main() = application {