14 lines
452 B
Kotlin
14 lines
452 B
Kotlin
import kotlinx.browser.window
|
|
import space.kscience.dataforge.misc.DFExperimental
|
|
import space.kscience.visionforge.VisionForge
|
|
import space.kscience.visionforge.plotly.usePlotly
|
|
import space.kscience.visionforge.solid.three.useThreeJs
|
|
|
|
@DFExperimental
|
|
fun main(): Unit = VisionForge.run{
|
|
console.info("Starting VisionForge context")
|
|
usePlotly()
|
|
useThreeJs()
|
|
window.asDynamic()["VisionForge"] = VisionForge
|
|
renderVisionsInWindow()
|
|
} |