0.9.0 • Published 11 days ago

@lancercomet/dancefloor v0.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 days ago

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
}
0.9.0

11 days ago

0.8.1

10 months ago

0.8.0

11 months ago

0.7.1

11 months ago

0.7.0

11 months ago

0.6.6

11 months ago

0.3.0

11 months ago

0.2.0

11 months ago

0.6.3

11 months ago

0.6.2

11 months ago

0.6.5

11 months ago

0.6.4

11 months ago

0.5.0

11 months ago

0.4.0

11 months ago

0.3.1

11 months ago

0.6.1

11 months ago

0.6.0

11 months ago

0.1.3-test-6

2 years ago

0.1.3-test-0

2 years ago

0.1.3-test-1

2 years ago

0.1.3-test-4

2 years ago

0.1.3-test-5

2 years ago

0.1.3-test-2

2 years ago

0.1.3-test-3

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago