🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

aframe-gradient-sky

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-gradient-sky

A-Frame gradient sky component

1.0.4
latest
Source
npm
Version published
Weekly downloads
46
Maintainers
1
Weekly downloads
 
Created
Source

aframe-gradient-sky

A gradient sky component for the A-Frame WebVR Framework.

Check out the: Gradient Sky Example

A-Frame Gradient Sky

Usage

Browser Installation

Install and use by directly including the browser file:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
  <script src="https://cdn.rawgit.com/zcanter/aframe-gradient-sky/master/dist/gradientsky.min.js"></script>
</head>

<body>
  <a-scene>
    <a-gradient-sky material="shader: gradient; topColor: 255 0 0; bottomColor: 0 121 255;"></a-gradient-sky>
  </a-scene>
</body>

NPM Installation

Install via NPM:

npm install aframe-gradient-sky

Then register and use.

require('aframe');
require('aframe-gradient-sky');

Keywords

aframe

FAQs

Package last updated on 29 Jan 2017

Did you know?

Socket

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