johnrees / aframe-extrude-svg-component

https://johnrees.github.io/aframe-extrude-svg-component/
MIT License
2 stars 0 forks source link

!! NOT YET READY FOR GENERAL USE !!

aframe-extrude-svg-component

Version License

A Extrude SVG component for A-Frame.

For A-Frame.

API

Property Description Default Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-extrude-svg-component/dist/aframe-extrude-svg-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity extrude-svg="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-extrude-svg-component

Then require and use.

require('aframe');
require('aframe-extrude-svg-component');