Join Slack
Powered by
Guys, I did it! Full self-contained 3d visualizati...
# science
a
altavir
12/12/2020, 6:28 PM
Guys, I did it! Full self-contained 3d visualization from JVM. The html (with embedded script generated with Kotlin-JS is in the archive. the whole code is here:
https://github.com/mipt-npm/visionforge/blob/dev/playground/src/jvmMain/kotlin/hep/dataforge/vision/solid/fileExport.kt
. It basically works the same way Plotly.kt works (and it wil be possible to add it as a plugin later, meaning you can have both 3d and plots in the same page). Dynamic server (not unlike plotlykt-server) also is present, but there are still bugs with a page reload:
https://github.com/mipt-npm/visionforge/blob/dev/demo/sat-demo/src/main/kotlin/ru/mipt/npm/sat/satServer.kt
. Jupyter integration is on its way (
@roman.belov
, the primary problem is still with script loading. I can't use CDN here since it is a custom made kotlin-js bundle compiled with the plugin).
tempPlot6092217184190904864.zip
Open in Slack
Previous
Next