@codedev168/three-site
v0.1.0
Published
A small Three.js helper to create a basic animated scene
Readme
@codedev168/three-site
A minimal Three.js helper to quickly create and animate a basic scene with a rotating cube.
Installation
npm install @codedev168/three-site three
Usage
import createScene from '@codedev168/three-site';
const container = document.getElementById('app'); const scene = createScene(container); scene.start();
You can call scene.stop() to pause the animation and scene.dispose() to clean up resources.
