Permalink
Browse files

Restructured

  • Loading branch information...
1 parent 7cf7dcd commit 9beb3360aca621129a49ecbac333b16a1445547a @phoboslab committed Sep 20, 2016
Showing with 11 additions and 11 deletions.
  1. +11 −11 README.md
View
@@ -7,6 +7,15 @@ More info & Documentation: http://impactjs.com/ejecta
Ejecta is published under the [MIT Open Source License](http://opensource.org/licenses/mit-license.php).
+## Quick Start
+
+1. Create a folder called `App` within this Xcode project
+2. Copy your canvas application into the `App` folder
+3. Ensure you have at least 1 file named `index.js`
+4. Build the Xcode project
+
+For an example application, copy `./index.js` into the `App` folder.
+
## Recent Breaking Changes
### 2016-06-23 - Typed Arrays are fast again!
@@ -69,8 +78,7 @@ ctx.scale( window.devicePixelRatio, window.devicePixelRatio );
## WebGL Support
-Recently WebGL support has been merged into the main branch. A huge thanks goes to @vikerman - he did most of the grunt work of the WebGL implementation. To have the WebGL alongside Canvas2D, I modified the old 2D implementation to use OpenGL ES2 instead of ES1, just like WebGL itself.
-
+Ejecta supports WebGL out of the box, alongside with Canvas2D. You can create WebGL textures from Canvas2D instances and also draw WebGL Canvases into 2D Contexts as images. Note that you can't change the "mode" (2D or WebGL) of a Context after it has been created.
## Three.js on iOS with Ejecta
@@ -81,14 +89,6 @@ Ejecta always creates the screen Canvas element for you. You have to hand this C
renderer = new THREE.WebGLRenderer( {canvas: document.getElementById('canvas')} );
```
-
-## How to use
-
-1. Create a folder called `App` within this Xcode project
-2. Copy your canvas application into the `App` folder
-3. Ensure you have at least 1 file named `index.js`
-4. Build the Xcode project
-
-For an example application, copy `./index.js` into the `App` folder. An example App folder with the Three.js [Walt CubeMap demo](http://mrdoob.github.com/three.js/examples/webgl_materials_cubemap.html) can be found here:
+An example App folder with the Three.js [Walt CubeMap demo](http://mrdoob.github.com/three.js/examples/webgl_materials_cubemap.html) can be found here:
http://phoboslab.org/files/Ejecta-ThreeJS-CubeMap.zip

0 comments on commit 9beb336

Please sign in to comment.