Getting Started
New project from the template
sbt new cheleb/ThreeScalaJS --directory=threescalajs.g8
cd <name>
npm install
npm run dev
The generated project is a Scala.js + Vite application with a ready-to-run Three.js scene.
Installation
libraryDependencies += "dev.cheleb" %%% "threesjs" % "0.3.0"
Sample
In this article