FrankHassanabad / threejs-examples-with-es6

threejs examples with es6 syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreeJS Examples

ThreeJS Examples for learning. Written in ES6 but without Frameworks and tools such as React, AngularJS, babel, typescript, webpack, etc... This is to concentrate on ES6 with threeJS alone. ESLint available to try and keep the code the style I personally enjoy. These examples will only work with the latest Chrome, Firefox, and IE.

Online demo, click here

Spinning Box

Box

Obj Loader

OBj Loader

Obj Loader With Material

OBj Loader With Material

Ply Loader

OBj Loader With Material

Baked Ply Loader with Orbit Controls

OBj Loader With Material

Voxel Obj Loader with Material and Orbit Controls

OBj Loader With Material

Instructions

Please enjoy wanderer of the late night and keeper of the code.

Install dependencies

npm install

Run

npm start
Server listening on port: 8080

Open master index.html with all links to examples

open http://localhost:8080/index.html

Add new examples and toys you want to the public folders.

Test it

npm run test

Lint it

npm run lint

Some models are from magica voxel and some are from threeJS:

threeJS

magicaVoxel Models

About

threejs examples with es6 syntax


Languages

Language:JavaScript 83.0%Language:HTML 17.0%