1.2.2 • Published 6 years ago

react-3divs v1.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

react_3divs

Divs in 3D as react components

install

npm install --save react-3divs@latest

import

import { Div3d, Viewer3d, Obj3d, Layer3d } from "react-3divs";

#Example

 <Viewer3d stats width={600} height={600} >
    <Div3d position={{ x: 10, y: 0, z: 0 }} >
                <h3>2D Content Here</h3>
    </Div3d>
   </Viewer3d>

run example

 #clone git
$ cd ./example 
$ npm install && npm start

Simple Use

 <Viewer3d stats width={600} height={600} defaultLight grid>
    <Obj3d src={model} mtl={mtl} />
    <Div3d name="div0" position={{ x: 10, y: 0, z: 0 }} >
                <h3>2D Content Here{this.state.counter}</h3>
    </Div3d>
   </Viewer3d>
   
1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago