ScalaJS facade for threejs
Switch branches/tags
Nothing to show
Clone or download
antonkulaga Merge pull request #19 from PHo1975/master
add BufferGeometry.setIndex() and PlaneBufferGeometry
Latest commit d841774 Nov 30, 2017

README.md

threejs facade

This is a ScalaJS facade of threejs javascript 3D library ( http://threejs.org/ ). All the code is inside facade folder (threejs subproject). It also contains some extra classes for easier scene creation and css3d rendering.

Usage

In order to resolve a lib you should add a resolver::

resolvers += sbt.Resolver.bintrayRepo("denigma", "denigma-releases") //add resolver
libraryDependencies += "org.denigma" %%% "threejs-facade" % "0.0.77-0.1.8" //add dependency

Gettings started

You can see an example in preview subproject.

To run preview:

    sbt //to opens sbt console
    re-start //Use this command **instead of** run to run the app
    Open localhost:5552 to see the result