![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@kalwalt/jsartoolkit-nft
Advanced tools
Emscripten port of ARToolKit5 to JavaScript. It is a lighter version of Jsartoolkit5 with only NFT markerless support
Emscripten port of WebARKitLib to JavaScript. Modified and lighter version of JSARToolKit5.
Try the example !! kalwalt.github.io/jsartoolkitNFT/examples/arNFT_example.html
JSARToolKitNFT support only this types of markers:
has WASM embedded in a single file!
❕From 0.8.0 version has ES6 feature 🎉 😻
❕From 0.9.0 version has Typescript feature 💖 💣
You can use raw.githack.com links:
WASM version of the library:
<script src="https://raw.githack.com/kalwalt/jsartoolkitNFT/master/build/artoolkitNFT_wasm.js">
WASM version of the library as a Module:
<script src="https://raw.githack.com/kalwalt/jsartoolkitNFT/master/build/artoolkitNFT_ES6_wasm.js">
NO WASM minified:
<script src="https://raw.githack.com/kalwalt/jsartoolkitNFT/master/build/artoolkitNFT.min.js">
or (recommended) use the UMD library:
<script src="https://raw.githack.com/kalwalt/jsartoolkitNFT/master/dist/ARToolkitNFT.js">
or you can install with npm and use as a module:
npm i @kalwalt/jsartoolkit-nft
then:
import { ARToolkitNFT, ARControllerNFT } from '@kalwalt/jsartoolkit-nft'
You can download the build libs in the releases page. Starting from version 0.8.0 it is possible to download dist
or build
zip packages.
or you can clone the repository with git, follow the instructions below:
git submodule update --init
. If you already cloned WebARKitLib to a different directory you can:jsartoolkitNFT/emscripten/
directory that points to WebARKitLib (jsartoolkitNFT/emscripten/WebARKitLib
) (Linux and macOS only)WEBARKITLIB_ROOT
environment variable to point to your WebARKitLib clonetools/makem.js
file to point to your WebARKitLib clone (line 32)You can build the documentation of the library. You need node and npm installed and then run these commands in a console:
npm install
npm run docs
At this point you have build the docs in the docs/
folder, you should run a server and then go to docs/
folder.
JSARToolKitNFT is used by ARnft a small libary that help developers to create WebAR apps.
build/
(compiled debug and minified versions of JSARToolKitNFT)dist/
(compiled UMD lib with ES6 of JSARToolKitNFT)emscripten/
(source code for ARToolKitNFT)examples/
(demos and examples using JSARToolKitNFT)js/
(api and workers of JSARToolKitNFT.js for the standard api)src/
(source code of ARToolKitNFT with Typescript)tests/
(tests - WIP)tools/
(build scripts for building JSARToolKitNFT with Emscripten)types/
(type definitions of ARToolKitNFT)JSARToolKitNFT supports WebAssembly. The library builds WebAssembly artifacts during the build process, WASM is embedded in a single file. This is build/artoolkitNFT_wasm.js
. To use it, include the artoolkit_wasm.js
into your html page like this:
<script src="../build/artoolkitNFT_wasm.js"></script>
As loading the WebAssembly artifact is done asynchronously, there is a callback that is called when everything is ready.
window.addEventListener('artoolkitNFT-loaded', () => {
//do artoolkit stuff here
});
See the examples folder for details.
Go to the wiki for more infos. Note that you need to build the library only if you make changes to the source code.
FAQs
Emscripten port of ARToolKit5 to JavaScript. It is a lighter version of Jsartoolkit5 with only NFT markerless support
The npm package @kalwalt/jsartoolkit-nft receives a total of 3 weekly downloads. As such, @kalwalt/jsartoolkit-nft popularity was classified as not popular.
We found that @kalwalt/jsartoolkit-nft demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.