visionforge/demo/playground/src/jsMain/kotlin/playgroundMain.kt

14 lines
484 B
Kotlin
Raw Normal View History

2021-01-26 21:05:56 +03:00
//import hep.dataforge.vision.plotly.withPlotly
2021-01-12 12:52:22 +03:00
import hep.dataforge.vision.plotly.withPlotly
import hep.dataforge.vision.renderVisionsAt
2021-01-12 12:52:22 +03:00
import hep.dataforge.vision.renderVisionsInWindow
import hep.dataforge.vision.solid.three.withThreeJs
import kotlinx.browser.window
2020-12-29 15:00:11 +03:00
fun main() {
2021-01-12 12:52:22 +03:00
withPlotly()
withThreeJs()
2021-01-12 12:52:22 +03:00
renderVisionsInWindow()
window.asDynamic()["renderVisionsInWindow"] = ::renderVisionsInWindow
window.asDynamic()["renderVisionsAt"] = ::renderVisionsAt
2020-12-29 15:00:11 +03:00
}