2021-03-01 21:33:25 +03:00
|
|
|
import kotlinx.browser.window
|
2021-03-07 16:19:43 +03:00
|
|
|
import space.kscience.dataforge.misc.DFExperimental
|
|
|
|
import space.kscience.visionforge.VisionForge
|
|
|
|
import space.kscience.visionforge.plotly.usePlotly
|
|
|
|
import space.kscience.visionforge.solid.three.useThreeJs
|
2020-12-29 15:00:11 +03:00
|
|
|
|
2021-03-01 21:33:25 +03:00
|
|
|
@DFExperimental
|
2021-02-26 13:03:40 +03:00
|
|
|
fun main(): Unit = VisionForge.run{
|
2021-02-24 22:48:17 +03:00
|
|
|
usePlotly()
|
|
|
|
useThreeJs()
|
2021-01-12 12:52:22 +03:00
|
|
|
renderVisionsInWindow()
|
2021-03-01 21:33:25 +03:00
|
|
|
window.asDynamic()["renderVisionsAt"] = ::renderVisionsAt
|
|
|
|
window.asDynamic()["renderVisionsInWindow"] = ::renderVisionsInWindow
|
2020-12-29 15:00:11 +03:00
|
|
|
}
|