Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gopro/forgejs-samples
Samples for the ForgeJS javascript framework.
https://github.com/gopro/forgejs-samples
3d ambisonics forgejs html5 javascript samples threejs webgl webvr
Last synced: 3 months ago
JSON representation
Samples for the ForgeJS javascript framework.
- Host: GitHub
- URL: https://github.com/gopro/forgejs-samples
- Owner: gopro
- License: apache-2.0
- Created: 2016-10-18T16:55:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-04T12:43:26.000Z (over 6 years ago)
- Last Synced: 2024-08-01T19:57:47.626Z (6 months ago)
- Topics: 3d, ambisonics, forgejs, html5, javascript, samples, threejs, webgl, webvr
- Language: HTML
- Homepage: https://forgejs.org/
- Size: 93.4 MB
- Stars: 12
- Watchers: 72
- Forks: 16
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
![](https://cdn.forgejs.org/grav/images/ForgeJS-logo-650x200.png)
# ForgeJS Samples
This repository contains simple samples, demonstrating the capabilities of ForgeJS.
## Setup
Prior to the sample execution you have to setup the `plugins` directory which contains ForgeJS plugins used into the samples
1. Create a `plugins` directory in the root folder of the `forgejs-samples` local repository.
2. Clone the [ForgeJS Plugins](https://github.com/gopro/forgejs-plugins) project.
3. Copy and paste the content of the forgejs-plugins repository into the `plugins` directory of the `forgejs-samples` local repository.Then you have to setup the `lib` directory which contains the ForgeJS library and all required external libraries.
1. Clone the [ForgeJS](https://github.com/gopro/forgejs) project.
2. Copy and paste the `lib` directory of the `forgejs` repository at the root of the `forgejs-samples` local repository.
3. Build ForgeJS library with the help of the ```grunt min``` command (more informations [here](https://github.com/gopro/forgejs/blob/master/README.md)).
4. Copy and paste the generated `build` directory into the previously pasted `lib` directory of the `forgejs-samples` local repository.
5. Rename `lib/build` directory to `lib/forge`.## Test it
Run a server in the root folder of this directory. The index contain a list of available samples.
If you have Python installed, you can either run:
```bash
python -m SimpleHTTPServer
```OR
```bash
python -m http.server
```If you have Node.js installed, you can run these commands to install `http-server`, a simple zero-configuration command-line http server.
```bash
npm install http-server -g
http-server -p 8000
```You can then browse [your localhost](http://localhost:8000).
## Terms of Use - ForgeJS Sample Resources
All audio, image and video files are the property of GoPro, Inc.
You may not use the material for commercial purposes.
All other specific copyrights are available in each sample's directory.