All Projects → webarkit → ARnft

webarkit / ARnft

Licence: LGPL-3.0 license
A small javascript library for WebAR with NFT

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to ARnft

kalwalt-interactivity-AR
Some various experiments with Ar.js and Three.js
Stars: ✭ 65 (-63.48%)
Mutual labels:  webar, nft, markerless, jsartoolkitnft, arnft
jsartoolkit5
Javascript ARToolKit v5.x
Stars: ✭ 37 (-79.21%)
Mutual labels:  webar, jsartoolkit, nft, markerless, artoolkit5
jsartoolkitNFT
jsartolkitNFT is a smaller version of jsartoolkit5 with only NFT support
Stars: ✭ 110 (-38.2%)
Mutual labels:  webar, nft, markerless, jsartoolkitnft
arStudio
A innovative Web editor for Augmented Reality
Stars: ✭ 45 (-74.72%)
Mutual labels:  webar, nft
nft-art-maker
NFT Art Maker - generates images and metadata files, packs them into IPFS CAR files, and uploads them using nft.storage. All from provided PNG layers.
Stars: ✭ 77 (-56.74%)
Mutual labels:  nft
nft-collection-generator
Generates images and metadata for a collection of NFTs.
Stars: ✭ 77 (-56.74%)
Mutual labels:  nft
carbon-footprint
Calculate your carbon footprint 🏭👣 from food, transport, purchases, fashion, electricity and digital activities like streaming, NFT or blockchain.
Stars: ✭ 59 (-66.85%)
Mutual labels:  nft
snes-punks
Real world example of a full-stack Ethereum web app for supporting minting of NFT's from a collection using Tailwind, NextJS an nes.css. Contracts are written in Solidity with the help of HardHat.
Stars: ✭ 43 (-75.84%)
Mutual labels:  nft
tinlake
Smart contracts for Tinlake, the on-chain securitization protocol for real-world assets
Stars: ✭ 85 (-52.25%)
Mutual labels:  nft
opensea-arb-nft20
🧸 💸 Detects arbitrage opportunities for ERC-721 tokens between OpenSea and NFT20.
Stars: ✭ 42 (-76.4%)
Mutual labels:  nft
enjin-cpp-sdk
Enjin Platform SDK for C++.
Stars: ✭ 15 (-91.57%)
Mutual labels:  nft
Artion-Client
Client app for Artion, a global NFT marketplace on Fantom Opera.
Stars: ✭ 71 (-60.11%)
Mutual labels:  nft
rarity-analyser
Cool Rarity is an open source package for easy rarity score calculation with ERC721 NFT metadata collection. It was born in punkscape 01 rarity analyser hackathon.
Stars: ✭ 82 (-53.93%)
Mutual labels:  nft
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (-53.37%)
Mutual labels:  nft
nftool
A suite of tools for NFT generative art.
Stars: ✭ 145 (-18.54%)
Mutual labels:  nft
awesome-defi
Curated list of awesome DeFi protocols, dapps, wallets and other resources
Stars: ✭ 36 (-79.78%)
Mutual labels:  nft
apebase
Bored Ape Database
Stars: ✭ 110 (-38.2%)
Mutual labels:  nft
nfthost
NFT Collection Generator and Minting Website Hosting
Stars: ✭ 47 (-73.6%)
Mutual labels:  nft
bitcoincashj
A library for working with Bitcoin Cash
Stars: ✭ 38 (-78.65%)
Mutual labels:  nft
proof-of-kyc
An NFT that proves you've gone through an identity verification process, powered by Stripe Identity.
Stars: ✭ 78 (-56.18%)
Mutual labels:  nft

github releases github stars github forks npm package version Dependabot Badge code style: prettier CI Build ARnft CI twitter

ARnft - WebAR with NFT

A small javascript library to develop WebAR apps. It is based on jsartoolkitNFT a lighter version of jsartoolkit5 only with NFT markerless technology. It use ARnft-threejs for the rendering part.

Start using it !

1️⃣   Clone the repository:

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

2️⃣   Install the npm packages with yarn:

yarn install

or with npm:

npm install

3️⃣   Run the node server:

http-server . -p 8000

4️⃣   Go to the examples:

http://localhost:8000/examples/arNFT_example.html

5️⃣   Point your device 📱 to the pinball image 👇 a red cube will appear !

Usage

Download the zipped dist lib package from the releases page: webarkit/ARnft/releases and use it in a script tag:

<script src="path/to/dist/ARnft.js"></script>

or you can use raw.githack services (for development):

<script src="https://raw.githack.com/webarkit/ARnft/master/dist/ARnft.js"></script>

or raw.cdn (for production, you need to add the hash):

<script src="https://rawcdn.githack.com/webarkit/ARnft/<hash>/dist/ARnft.js"></script>

or if you want to import as a module with npm:

import { ARnft } from "@webarkit/ar-nft";

Examples

Test the examples in the /examples folder:

  • arNFT_autoupdate_example.html Example with the autopdate routine.
  • arNFT_container_example.html Example with an alternative container.
  • arNFT_event_example.html Example with objVisibility and eventListener.
  • arNFT_example.html The simplest example displaying a red cube.
  • arNFT_gltf_brave_robot_example.html More advanced example with a gltf model and threejs events.
  • arNFT_gltf_example.html Example showing a gltf model (Duck).
  • arNFT_gltf_flamingo_example.html Example showing an animated gltf model (Flamingo).
  • arNFT_image_example.html Example showing an image.
  • arNFT_initialize_raw_example.html Example using the custom initialize function for the CameraRenderer (video).
  • arNFT_multi_example.html Example with multi NFT markers.
  • arNFT_multi_dispose_example.html Example with multi NFT markers and disposing worker.
  • arNFT_multi_one_worker_example.html Example with multi NFT markers in one Worker.
  • arNFT_video_example.html Example showing a video.

You can try also a live example with React at this link: kalwalt.github.io/ARnft-ES6-react/

Donate

Donate to ARnft opencollective backers

Documentation

You can build the docs with this command: yarn docs Then run a live server and go to the docs folder.

Features

npm i @webarkit/ar-nft

or with yarn:

yarn add @webarkit/ar-nft
  • Configuration data in an External .json file.

Format the code with Prettier

We are using Prettier as code formatter. You only need to run yarn format to write the formatted code with Prettier. If you want to check if the code is well formatted run instead: yarn format-check

Build

If you make changes to the code, run these commands to build the distribution libray, install all the dependencies with:

yarn --include=dev i

For a development build, that is the code will be rebuilt for every changes, run:

yarn dev-ts

Instead for a production build, with more optimizations in the code and smaller size, run:

yarn build-ts
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].