@lancercomet/dancefloor
DanceFloor
This is a Vue binding for ThreeJS, just like a Vue version of ReactThreeFiber.
Quick start
import { BoxGeometry, BasicMaterial, Mesh, useScene, PerspectiveCamera, OrbitControls } from '@lancercomet/dancefloor'
import { defineComponent } from 'vue'
const MyApp = defineComponent({
name: 'MyApp',
setup () {
const { Scene } = useScene()
return () => (
<Scene>
<PerspectiveCamera position={{ x: 5, y: 5, z: 5 }}>
<OrbitControls />
</PerspectiveCamera>
<Mesh>
<BoxGeometry width={1} height={1} depth={1} />
<BasicMaterial params={materialParamsRef.value} />
</Mesh>
</Scene>
)
}
})
export {
MyApp
}
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.9.0 | ^3.2.47 | Apache-2.0 | |
| 0.8.1 | ^3.2.47 | Apache-2.0 | |
| 0.8.0 | ^3.2.47 | Apache-2.0 | |
| 0.7.1 | ^3.2.47 | Apache-2.0 | |
| 0.7.0 | ^3.2.47 | Apache-2.0 | |
| 0.6.6 | ^3.2.47 | Apache-2.0 | |
| 0.6.5 | ^3.2.47 | Apache-2.0 | |
| 0.6.4 | ^3.2.47 | Apache-2.0 | |
| 0.6.3 | ^3.2.47 | Apache-2.0 | |
| 0.6.2 | ^3.2.47 | Apache-2.0 | |
| 0.6.1 | ^3.2.47 | Apache-2.0 | |
| 0.6.0 | ^3.2.47 | Apache-2.0 | |
| 0.5.0 | ^3.2.47 | Apache-2.0 | |
| 0.4.0 | ^3.2.47 | Apache-2.0 | |
| 0.3.1 | ^3.2.47 | Apache-2.0 | |
| 0.3.0 | ^3.2.47 | Apache-2.0 | |
| 0.2.0 | ^3.2.47 | Apache-2.0 | |
| 0.1.5 | ^3.2.39 | ||
| 0.1.4 | ^3.2.39 | ||
| 0.1.3 | ^3.2.39 | ||
| 0.1.2 | ^3.2.39 | ||
| 0.1.1 | ^3.2.39 | ||
| 0.1.0 | ^3.2.39 |
Pre-releases (7)
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.3-test-6 | |||
| 0.1.3-test-5 | |||
| 0.1.3-test-4 | |||
| 0.1.3-test-3 | ^3.2.39 | ||
| 0.1.3-test-2 | ^3.2.39 | ||
| 0.1.3-test-1 | ^3.2.39 | ||
| 0.1.3-test-0 | ^3.2.39 |