diff --git a/README.md b/README.md index dc42799..ae929ad 100644 --- a/README.md +++ b/README.md @@ -46,38 +46,39 @@ Check out all the [examples]() Copy the following code into an `index.html` file. - ```html - + + renderer.setAnimationLoop(function animate(time) { + renderer.render(scene, camera); + butterfly.rotation.y += 0.01; + }); + ``` + See the [Run Examples](#run-examples) section below to try out other examples. ### Web Editor @@ -85,22 +86,22 @@ See the [Run Examples](#run-examples) section below to try out other examples. Remix the [glitch starter template](https://glitch.com/edit/#!/forge-dev) ### Usage from CDN -TO-DO: setup CDN + ```html ``` ### Install with NPM -TO-DO: publish package + ```shell -npm install forge-dev +npm install @forge-dev/forge ``` ## Run Examples