Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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).