Hello. I want to make a desktop application that u...
# getting-started
c
Hello. I want to make a desktop application that uses the VTK library. Since vtk supports java binding, I want to bind with kotlin and configure the UI with a compose multiplatform supported by jetbrain, is that a good way?
If anyone has done it before, please give me some advice. ­čÖé
h
I don't know vtk, but creating a compose "runtime" is quite possible. If you want an officially sample, I suggest the html runtime, because it is very small and simple: https://github.com/JetBrains/compose-multiplatform/tree/master/html/internal-html-core-runtime, which contains the Applier, and https://github.com/JetBrains/compose-multiplatform/blob/master/html/core/src/jsMain/kotlin/org/jetbrains/compose/web/elements/Base.kt which contains the basic nodes. Leland Richardson wrote some articles about compose internals too: http://intelligiblebabble.com
­čöą 2