@fern-solutions/aframe-3dof

1.1.1 • Public • Published

3DoF component

npm version npm version github twitter mastodon ko-fi

This component can be used to render a scene in either monoscopic or stereoscopic 3DoF. Only the orientation of the head is used. The position of the camera can be controlled with the position property.

Checkout the example: Online Demo | Source

Usage

Load the script from npm or add the following script tag:

<script src="https://unpkg.com/@fern-solutions/aframe-3dof/dist/3dof.umd.min.js"></script>

The 3dof component can be added to any a-scene element as follows:

<a-scene 3dof="position: 0 1.6 0">

Readme

Keywords

Package Sidebar

Install

npm i @fern-solutions/aframe-3dof

Weekly Downloads

12

Version

1.1.1

License

MIT

Unpacked Size

5.72 kB

Total Files

5

Last publish

Collaborators

  • mrxz