Socket
Socket
Sign inDemoInstall

aframe-gblock

Package Overview
Dependencies
120
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aframe-gblock

Aframe component loading remixable google blocks models.


Version published
Weekly downloads
151
Maintainers
1
Created
Weekly downloads
 

Readme

Source

gBlock Component for A-Frame

A-Frame Component loading Google Poly models from https://poly.google.com. Maintained by 3d.io.

Demo

Live demo

Usage

<head>
  <script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
  <script src="https://cdn.rawgit.com/archilogic-com/aframe-gblock/6498b71d/dist/gblock.js"></script>
</head>
<body>
  <a-scene>
    // Using Poly API Key (Recommended)
    <a-entity gblock="https://poly.google.com/view/ewsXLyr8OPu&key=YOUR_POLY_API_KEY_HERE"></a-entity>
    // Without Poly API Key (Legacy mode: Might break in the future)
    <a-entity gblock="https://poly.google.com/view/dVG0XJrpRJC"></a-entity>
  </a-scene>
</body>
Run Example

Want to make changes?

Installation

1. Make sure you have Node installed.

On Mac OS X, it's recommended to use Homebrew to install Node + npm:

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/

Acknowledgements

Based on gltf component from A-Frame using GLTF loader from three.js.

License

Distributed under an MIT License.

Keywords

FAQs

Last updated on 02 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc