0.1.10 ⢠Published 1 year ago
@quick-threejs/legacy v0.1.10
@quick-threejs/legacy
@quick-threejs/legacy is a small library.
This lib was designed to quickly start a ThreeJS app. It'll set up a 3D scene with as little configuration as possible.
š Quick start
Simply import @quick-threejs/legacy and instantiate it as follows:
import QuickThreejs from "@quick-threejs/legacy";
let APP = new QuickThreejs(
{
axesSizes: 5,
gridSizes: 10,
enableDebug: true,
withMiniCamera: true
},
"#experience"
);That's it! Now you should see the following screen on your local development server preview:
Understanding
@quick-threejs/legacy is designed to be usage simple.
š” The first parameter is the initialization properties and the second is the DOMElement reference.
For more details about the about the available properties, see:
See the complete Example folder.