Skip to content

study-game-engines/kotlin-three.js-starter

 
 

Repository files navigation

Kotlin/JS + three.js Starter

This project will make it easy for you to quickly start writing 3D apps with Kotlin and three.js .

Although JetBrains introduced Dukat to convert JS/WebIDL/TS types to Kotlin external declarations, there's still a long way to go until it's fully functional.

I spent several days modifying Dukat in order to successfully generate the externals for three.js. (I'll link to this project separately). I didn't want to just modify the generated files by hand, so that I can easily upgrade to newer versions of three.js as they come in a scalable way.

Demo

The generated files are placed in their own module (threejs_kt) and referenced from the main gradle file, so that you can easily move this module from one project to another.

About

A starter Kotlin/JS project with generated Kotlin externals for three.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 99.9%
  • HTML 0.1%