|
|
|
@ -7,6 +7,7 @@ import filter.EchoFilter
|
|
|
|
|
import filter.Limiter
|
|
|
|
|
import gui.SimpleEx
|
|
|
|
|
import random.RandomDisplacementFractal
|
|
|
|
|
import java.awt.event.WindowAdapter
|
|
|
|
|
import javax.swing.JSlider
|
|
|
|
|
import kotlin.math.cos
|
|
|
|
|
import kotlin.math.pow
|
|
|
|
@ -93,8 +94,10 @@ fun main(args: Array<String>) {
|
|
|
|
|
|
|
|
|
|
frame.add_slider("Property 1", 0, 100, 50).addChangeListener { e ->
|
|
|
|
|
val value = (e.source as JSlider).value
|
|
|
|
|
println(value)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
frame.isVisible = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|