# ✨ VueJS 3 + ViteJS + ThreeJS ⚡ I wanted to try to write a lib similar to [react-three-fiber](https://github.com/react-spring/react-three-fiber) but for VueJS.

Demos : https://troisjs.github.io/trois/ I started from scratch... I don't know if I will have time to maintain this, but feel free to participate :) *Trois* is a french word, it means *Three*. ## Features - [ ] Lights - [x] AmbientLight - [x] PointLight - [x] SpotLight - [ ] ... - [ ] Materials - [x] Basic - [x] Phong - [x] Lambert - [x] Standard - [x] Sub Surface Scattering - [ ] ... - [ ] Geometries - [x] Box - [x] Sphere - [ ] ... - [ ] Meshes - [x] Box - [x] Sphere - [x] InstancedMesh - [ ] ... - [ ] Post Processing - [x] EffectComposer - [x] Renderpass - [x] UnrealBloomPass - [ ] ... - [ ] Improve HMR ## Installation yarn add troisjs ## PoC I first made a simple *Proof of Concept*, take a look at [Test1.vue](/src/components/Test1.vue) : ```html ``` ## InstancedMesh Take a look at [Test2.vue](/src/components/Test2.vue). ### Template ```html ``` ## GLTF Take a look at [TestGLTF.vue](/src/components/TestGLTF.vue). ```html ``` ## Dev git clone https://github.com/troisjs/trois cd trois yarn yarn dev