Removed my noise filters GUI tests

This commit is contained in:
Rein van der Woerd
2020-02-25 13:39:58 +01:00
committed by edwin
parent 8d776c8d6d
commit 3f9cf039c3
3 changed files with 0 additions and 63 deletions

View File

@@ -1,7 +1,3 @@
dependencies {
compile "org.openrndr:openrndr-core:$openrndrVersion"
compile "org.openrndr:openrndr-gl3:$openrndrVersion"
compile "org.openrndr:openrndr-gl3-natives-macos:$openrndrVersion"
implementation project(":orx-shader-phrases")
implementation project(":orx-gui")
}

View File

@@ -1,29 +0,0 @@
import org.openrndr.application
import org.openrndr.draw.renderTarget
import org.openrndr.extra.gui.*
import org.openrndr.extra.noise.filters.SimplexNoise3D
fun main() = application {
configure {
width = 1000
height = 1000
}
program {
val gui = GUI()
val simplexNoise3D = SimplexNoise3D()
val target = renderTarget(width, height) {
colorBuffer()
}
gui.add(simplexNoise3D)
extend(gui)
extend {
simplexNoise3D.apply(target.colorBuffer(0), target.colorBuffer(0))
drawer.image(target.colorBuffer(0))
}
}
}

View File

@@ -1,30 +0,0 @@
import org.openrndr.application
import org.openrndr.draw.renderTarget
import org.openrndr.extra.noise.filters.CellNoise
import org.openrndr.extra.noise.filters.WorleyNoise
import org.openrndr.extra.gui.*
fun main() = application {
configure {
width = 1000
height = 1000
}
program {
val gui = GUI()
val worleyNoise = WorleyNoise()
val target = renderTarget(width, height) {
colorBuffer()
}
gui.add(worleyNoise)
extend(gui)
extend {
worleyNoise.apply(target.colorBuffer(0), target.colorBuffer(0))
drawer.image(target.colorBuffer(0))
}
}
}