0.9.0 • Published 1 year ago

@lancercomet/dancefloor v0.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year 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

1 year ago

0.8.1

2 years ago

0.8.0

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.6

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.1

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.1.3-test-6

3 years ago

0.1.3-test-0

3 years ago

0.1.3-test-1

3 years ago

0.1.3-test-4

3 years ago

0.1.3-test-5

3 years ago

0.1.3-test-2

3 years ago

0.1.3-test-3

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago