diff --git a/README b/README deleted file mode 100644 index d8a08dd..0000000 --- a/README +++ /dev/null @@ -1,5 +0,0 @@ -This repository contains the examples from the book Essential Three.js I'm currently writing for Packt. This -book shows, using a couple of complex examples, how to work with the most common features of Three.js. - -This repo will contain the source code for the 6 large examples (chapters 2 to 7) and the examples to get you -started will be in chapter 1. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..e8ca84f --- /dev/null +++ b/README.md @@ -0,0 +1,59 @@ +> This repository contains the examples from the book Essential Three.js I'm currently writing for Packt. This +> book shows, using a couple of complex examples, how to work with the most common features of Three.js. +> +> This repo will contain the source code for the 6 large examples (chapters 2 to 7) and the examples to get you +> started will be in chapter 1. + +[Convert markdown to HTML](http://www.atool.org/html2markdown.php) + +[See the effect directly](http://zengjfos.github.io/essential-threejs) + +essential-three.js + +* chapter-01: + * 01.01-basic-scene.html[ [source] ](chapter-01/01.01-basic-scene.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.01-basic-scene.html) + * 01.02-simple-mesh.html[ [source] ](chapter-01/01.02-simple-mesh.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.02-simple-mesh.html) + * 01.03-vertices.html [ [source] ](chapter-01/01.03-vertices.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.03-vertices.html) + * 01.04-faces.html [ [source] ](chapter-01/01.04-faces.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.04-faces.html) + * 01.05-controls.html [ [source] ](chapter-01/01.05-controls.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.05-controls.html) + * 01.06-statistics.html [ [source] ](chapter-01/01.06-statistics.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-01/01.06-statistics.html) +* chapter-02: + * 02.01-globe-and-camera.html [ [source] ](chapter-02/02.01-globe-and-camera.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.01-globe-and-camera.html) + * 02.02-basic-textures.html [ [source] ](chapter-02/02.02-basic-textures.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.02-basic-textures.html) + * 02.03-add-lighting.html [ [source] ](chapter-02/02.03-add-lighting.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.03-add-lighting.html) + * 02.04-starry-background.html [ [source] ](chapter-02/02.04-starry-background.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.04-starry-background.html) + * 02.05-advanced-textures.html [ [source] ](chapter-02/02.05-advanced-textures.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.05-advanced-textures.html) + * 02.06-canvas-overlay.html [ [source] ](chapter-02/02.06-canvas-overlay.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.06-canvas-overlay.html) + * 02.07-add-an-object-overlay.html [ [source] ](chapter-02/02.07-add-an-object-overlay.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.07-add-an-object-overlay.html) + * 02.07-add-an-object-overlay-orig.html[ [source] ](chapter-02/02.07-add-an-object-overlay-orig.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-02/02.07-add-an-object-overlay-orig.html) +* chapter-03: + * 03.01-simple-generated-maze.html[ [source] ](chapter-03/03.01-simple-generated-maze.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.01-simple-generated-maze.html) + * 03.02-animate-cube.html [ [source] ](chapter-03/03.02-animate-cube.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.02-animate-cube.html) + * 03.03-collision-detection.html [ [source] ](chapter-03/03.03-collision-detection.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.03-collision-detection.html) + * 03.04-ball-and-maze.html [ [source] ](chapter-03/03.04-ball-and-maze.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.04-ball-and-maze.html) + * 03.05-keyboard-controls.html [ [source] ](chapter-03/03.05-keyboard-controls.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.05-keyboard-controls.html) + * 03.0A-maze.html [ [source] ](chapter-03/03.0A-maze.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-03/03.0A-maze.html) +* chapter-04: + * 04.01-output-sound-volums.html [ [source] ](chapter-04/04.01-output-sound-volums.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-04/04.01-output-sound-volums.html) + * 04.02-particle-line-output.html [ [source] ](chapter-04/04.02-particle-line-output.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-04/04.02-particle-line-output.html) + * 04.03-bar-histogram.html [ [source] ](chapter-04/04.03-bar-histogram.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-04/04.03-bar-histogram.html) + * 04.04-particle-line-landscape.html[ [source] ](chapter-04/04.04-particle-line-landscape.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-04/04.04-particle-line-landscape.html) + * 04.04-bass-circle-system.html [ [source] ](chapter-04/04.04-bass-circle-system.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-04/04.04-bass-circle-system.html) +* chapter-05: + * 05.01-3D-plane-from-scratch.html [ [source] ](chapter-05/05.01-3D-plane-from-scratch.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-05/05.01-3D-plane-from-scratch.html) + * 05.02-3D-plane-from-scratch-perlin.html[ [source] ](chapter-05/05.02-3D-plane-from-scratch-perlin.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-05/05.02-3D-plane-from-scratch-perlin.html) + * 05.03-3D-plane-with-texture.html [ [source] ](chapter-05/05.03-3D-plane-with-texture.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-05/05.03-3D-plane-with-texture.html) + * 05.04-Simple-3D-Buildings.html [ [source] ](chapter-05/05.04-Simple-3D-Buildings.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-05/05.04-Simple-3D-Buildings.html) + * 05.05-generated-tree.html [ [source] ](chapter-05/05.05-generated-tree.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-05/05.05-generated-tree.html) +* chapter-06: + * 06.01-CSS3DSkeleton.html [ [source] ](chapter-06/06.01-CSS3DSkeleton.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-06/06.01-CSS3DSkeleton.html) + * 06.02-google-maps-cube.html[ [source] ](chapter-06/06.02-google-maps-cube.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-06/06.02-google-maps-cube.html) + * 06.03-Animations.html [ [source] ](chapter-06/06.03-Animations.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-06/06.03-Animations.html) + * 06.04-CSS3DSprites.html [ [source] ](chapter-06/06.04-CSS3DSprites.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-06/06.04-CSS3DSprites.html) + * gm-embed.html [ [source] ](chapter-06/gm-embed.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-06/gm-embed.html) +* chapter-07: + * 07.01-load-json-model.html [ [source] ](chapter-07/07.01-load-json-model.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-07/07.01-load-json-model.html) + * 07.02-load-json-model-textures.html [ [source] ](chapter-07/07.02-load-json-model-textures.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-07/07.02-load-json-model-textures.html) + * 07.03-load-json-model-animations-bones.html[ [source] ](chapter-07/07.03-load-json-model-animations-bones.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-07/07.03-load-json-model-animations-bones.html) + * 07.04-load-json-model-animations-morph.html[ [source] ](chapter-07/07.04-load-json-model-animations-morph.html) [ [effect] ](http://zengjfos.github.io/essential-threejs/chapter-07/07.04-load-json-model-animations-morph.html) + diff --git a/autorun.sh b/autorun.sh new file mode 100755 index 0000000..749e85a --- /dev/null +++ b/autorun.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python -m SimpleHTTPServer diff --git a/chapter-01/01.06-statistics.html b/chapter-01/01.06-statistics.html index 7cb5ad2..f68bb4f 100644 --- a/chapter-01/01.06-statistics.html +++ b/chapter-01/01.06-statistics.html @@ -2,12 +2,16 @@