Skip to content

fritx/vue-threejs

 
 

Repository files navigation

vue-threejs

[WIP] Vue bindings for Three.js

Migrated from react-threejs

import VueThreejs from 'vue-threejs'
Vue.use(VueThreejs)
<template>
  <renderer :size="{ w: 600, h: 400 }">
    <scene>
      <camera :position="{ z: 15 }"></camera>
      <object3d :obj="mesh" :position="{ y: -200 }"></object3d>
    </scene>
  </renderer>
</template>

Roadmap

  • Basic components
    • renderer/scene/camera/listener
    • object3d/light/audio
    • controls/mesh/more
  • Watch for props change
    • position/rotation
    • obj/more
  • Better animation mechanism
    • animation-component
    • animation-component-plain
    • animation-mixin
    • animation queue/container

Study Notes

About

Vue bindings for Three.js

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •