I wanted to create a 3d website using kobweb, but ...
# kobweb
a
I wanted to create a 3d website using kobweb, but I don't know much about html, css and js but kobweb makes it easier. Is there any library available for it? I tried the sample project too but it wasn't very useful for me.
s
I think since this is a pretty specific requirement, you'd probably need to write your own port of a library like
Three.js
,
Babylon.js
, etc. Maybe you can start with the official documentation that explains how you can use JS code from Kotlin: https://kotlinlang.org/docs/js-interop.html Then there's this other Kotlin/JS/WASM framework named #C06UAH52PA7, that has ported a few libraries, you can read that code to understand more. The library's name is `Split`: It's Kotlin code is here: https://github.com/rjaros/kilua/tree/main/modules%2Fkilua-splitjs And it's JS code is here: https://github.com/nathancahill/split
Here's another example of porting JS libraries to Kotlin: Motion JS library: https://motion.dev/ Its basic Kotlin code: https://kotlinlang.slack.com/archives/C06UAH52PA7/p1732697262296059?thread_ts=1732673221.333279&cid=C06UAH52PA7
a
Okay thanks i will check this