Skip to content

aframeai/aframe-bricks

Repository files navigation

aframe-bricks

Version License

A component for loading L-Draw parts and models.

For A-Frame.

API

Property Description Default Value
src URL of the L-Draw model
steps Number of blocks to show

Installation

Browser

Install and use by directly including the browser files:

<!DOCTYPE html>
<head>
  <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
  <script src="https://unpkg.com/[email protected]/dist/aframe-bricks.min.js"></script>
</head>

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

npm

NOTE:

This component is still in development.
It hasn't been published to NPM, yet.

Install via npm:

npm install aframe-bricks

Then require and use.

require('aframe');
require('aframe-bricks');

About

A component for loading L-Draw parts and models.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published