Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/archilogic-com/aframe-gblock
Aframe component loading models from poly.google.com (inofficial)
https://github.com/archilogic-com/aframe-gblock
Last synced: about 2 months ago
JSON representation
Aframe component loading models from poly.google.com (inofficial)
- Host: GitHub
- URL: https://github.com/archilogic-com/aframe-gblock
- Owner: archilogic-com
- License: mit
- Archived: true
- Created: 2017-09-01T19:12:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T16:32:44.000Z (about 4 years ago)
- Last Synced: 2024-04-07T23:34:00.893Z (6 months ago)
- Language: JavaScript
- Homepage:
- Size: 813 KB
- Stars: 69
- Watchers: 15
- Forks: 14
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gBlock Component for A-Frame
[A-Frame](https://aframe.io) Component loading [Google Poly](https://poly.google.com) models from https://poly.google.com. Maintained by [archilogic.com](https://archilogic.com).
## Demo
#### [Live demo](http://project.archilogic.com/aframe-gblock/)
![](docs/screenshot3.png)
## Usage
```html
// Using Poly API Key
```
#### [Run Example](https://codepen.io/tomas-polach/pen/NvJRJe/right?editors=1000)
## Want to make changes?
### Installation
#### 1. Make sure you have Node installed.
On Mac OS X, it's recommended to use [Homebrew](http://brew.sh/) to install Node + [npm](https://www.npmjs.com):
brew install node
#### 2. Clone git repo
git clone https://github.com/archilogic-com/aframe-gblock.git
#### 3. Install dependencies
npm install
#### 5. Start local development server
npm start
#### 6. Launch site from your favourite browser:
[http://localhost:3000/](http://localhost:3000/)
## Acknowledgements
Based on [gltf component](https://aframe.io/docs/0.6.0/components/gltf-model.html) from [A-Frame](https://aframe.io/) using [GLTF loader](https://threejs.org/examples/#webgl_loader_gltf) from [three.js](https://threejs.org/).
## License
Distributed under an [MIT License](LICENSE).