@webarkit/arnft-threejs

The ARnft rendering engine, based on Three.js

Usage no npm install needed!

<script type="module">
  import webarkitArnftThreejs from 'https://cdn.skypack.dev/@webarkit/arnft-threejs';
</script>

README

ARnft-threejs

ARnft-threejs is the new rendering engine for ARnft. It is based on Three.js !!

Use the library

You can clone with git:

git clone https://github.com/webarkit/ARnft-threejs

and then get the library in the dist folder:

<script src="path/to/ARnftThreejs.js"></script>

or load with raw.githack:

<script src="https://raw.githack.com/webarkit/ARnft-threejs/main/dist/ARnftThreejs.js"></script>

or you can install from npm:

npm install @webarkit/arnft-threejs

or yarn:

yarn add @webarkit/arnft-threejs

and use it as a module:

import ARnftThreejs from '@webarkit/arnft-threejs'

Features

The library has ES6 and typescript support. Type definitions are in the types folder.

Build the docs

If you want to read the API doc run in the console:

yarn docs

and then access the generated html pages with a localhost server.

Build the project

If you make changes to the project to the source code , then you need to build it again:

yarn dev-ts // for a development build

yarn build-ts // for a production build

Contributing to the project

Contributions are very welcome! if you want to contribute read our CONTRIBUTING page.