Skip to content

Latest commit

 

History

History

reactThreeFiberDemos

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WebAR.rocks.face react fiber demos

Presentation

This directory is fully standalone, that's why it is not in the /demos path like other demonstrations. To make it work, run from this path:

npm install
npm run start

THREE.js is used through Three Fiber. We also use:

Only the best demos have been ported to this development environment.

The main script and neural network models have been copied to src/js/contrib/WebARRocksFace/dist and src/js/contrib/WebARRocksFace/neuralNets.

The helpers have been modified compared to the static ones. They are in src/js/contrib/WebARRocksFace/helpers

Webpack boilerplate original doc

This demo is based on Webpack boilerplate made by Tania Rascia and released under MIT software license.

Development server

npm start

You can view the development server at https://localhost:8443.

Production build

npm run build

Note: Install http-server globally to deploy a simple server.

npm i -g http-server

You can view the deploy by creating a server in dist.

cd dist && http-server

Features

Dependencies

Webpack

Babel

Loaders

Plugins