Worley noise, Syphon and noise filter parameters...

This commit is contained in:
Rein van der Woerd
2020-02-21 09:25:29 +01:00
committed by edwin
parent 1eaf8607db
commit bb7439db54
15 changed files with 306 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
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))
}
}
}