All Projects → icanb → React Arkit

icanb / React Arkit

Licence: mit
AR library for React-Native based on ARKit

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to React Arkit

Jeelizar
JavaScript object detection lightweight library for augmented reality (WebXR demos included). It uses convolutional neural networks running on the GPU with WebGL.
Stars: ✭ 296 (+419.3%)
Mutual labels:  augmented-reality, arkit
Arpaint
Draw with bare fingers in the air using ARKit
Stars: ✭ 672 (+1078.95%)
Mutual labels:  augmented-reality, arkit
Arkit Scnpath
Create paths for your Augmented Reality environments using just points to represent the centre of the path.
Stars: ✭ 312 (+447.37%)
Mutual labels:  augmented-reality, arkit
Realityui
A Swift Package for creating familiar UI Elements and animations in a RealityKit rendered Augmented Reality or Virtual Reality scene.
Stars: ✭ 275 (+382.46%)
Mutual labels:  augmented-reality, arkit
Ar Ane
ARKit Adobe Air Native Extension for iOS11
Stars: ✭ 35 (-38.6%)
Mutual labels:  augmented-reality, arkit
Gesture Recognition 101 Coreml Arkit
Simple project to recognize hands in realtime. 👋 Serves as an Example for building your own object recognizer.
Stars: ✭ 278 (+387.72%)
Mutual labels:  augmented-reality, arkit
Arkit Corelocation
Combines the high accuracy of AR with the scale of GPS data.
Stars: ✭ 5,045 (+8750.88%)
Mutual labels:  augmented-reality, arkit
stardust-SDK
Stardust SDK and sample app for Unity
Stars: ✭ 23 (-59.65%)
Mutual labels:  augmented-reality, arkit
Svrf Ios Sdk
iOS SDK for the Svrf API and ARKit Face Filters
Stars: ✭ 24 (-57.89%)
Mutual labels:  augmented-reality, arkit
Arshooter
A demo Augmented Reality shooter made with ARKit in Swift (iOS 11)
Stars: ✭ 794 (+1292.98%)
Mutual labels:  augmented-reality, arkit
Arkitnavigationdemo
ARKit Demo Application
Stars: ✭ 268 (+370.18%)
Mutual labels:  augmented-reality, arkit
Partfolio
Rosberry Portfolio app made with Apple ARKit
Stars: ✭ 29 (-49.12%)
Mutual labels:  augmented-reality, arkit
ARKitImageDetectionTutorial
ARKitImageDetectionTutorial code for Medium article.
Stars: ✭ 42 (-26.32%)
Mutual labels:  augmented-reality, arkit
Argithubcommits
Show your GitHub commit records in 3D with ARKit and SceneKit. 用 ARKit 展示你的 GitHub 提交图
Stars: ✭ 280 (+391.23%)
Mutual labels:  augmented-reality, arkit
Simple-ARKit-Game
No description or website provided.
Stars: ✭ 13 (-77.19%)
Mutual labels:  augmented-reality, arkit
Arkit By Example
Apple ARKit example app
Stars: ✭ 458 (+703.51%)
Mutual labels:  augmented-reality, arkit
ARKit-Sample-ObjC
ARKit sample application is written in Objective C with features of Add, Remove, Scale, Move, Snapshot for single and multiple objects with plane/surface detection, reset session and AR support checking.
Stars: ✭ 72 (+26.32%)
Mutual labels:  augmented-reality, arkit
augmented-card
Example project for ARKit Image Tracking blog post
Stars: ✭ 26 (-54.39%)
Mutual labels:  augmented-reality, arkit
Archarts
Lovely Augmented Reality Charts for iOS - Built with ARKit
Stars: ✭ 679 (+1091.23%)
Mutual labels:  augmented-reality, arkit
Awesome Arkit
A curated list of awesome ARKit projects and resources. Feel free to contribute!
Stars: ✭ 7,139 (+12424.56%)
Mutual labels:  augmented-reality, arkit

React ARKit

AR library for React-Native, based on ARKit. Makes it super easy to use all the augmented reality features of iOS 11.

Check out the example app using react-arkit
Custom model with plane detection

iOS Only, until Android comes up with their version of ARKit

npm version npm downloads

Library for create augmented reality applications with JavaScript, using declarative UI components in ReactJS. Allows for any geometric shape, as well as custom 3D models.

Install

Install the package, inside your React-Native app:

$ npm install react-arkit --save

Link the package to the existing app

react-native link react-native-arkit

Make sure that your app allows camera usage. (How?) Make sure that your app supports Swift runtime. (How?)

Or just clone the example app and make edits on it.

Usage

Import the ARScene component, and other node types that you need:

import ARScene, { ARBoxNode, ARTextNode, ARNode } from 'react-arkit';

Define a scene:

<ARScene style={{ height: 400, width: 300 }}>
{`Other AR nodes`}
</ARScene>

Add any node in it and manipulate freely:

<ARScene style={{ height: 400, width: 300 }}
    debugEnabled
    onPlaneDetected={({id, alignment, node, center, extent}) => {
        console.log("Detected plane:", id);
    }}
    onPlaneUpdated={({id, alignment, node, center, extent}) => {
        console.log("Updated plane:", id);
    }}>
    <ARBoxNode
        geoposition={{x: -0.5, y: 0.1, z:-1.0}}
        size={{ height: 0.05,
                width: 0.05,
                length: 0.05,
                chamferRadius: 0.01 }}
        color='#00F'/>
    <ARNode
        modelAssetPath={'Art.scnassets/billboard.dae:Billboard'}
        geoposition={{x: 0, y: 0.1, z:-1.0}}/>
    <ARTextNode
      text={'AR is Awesome'}
        color='#FF0'
        size={{ fontSize: 0.2, depth: 0.2 }}
        geoposition={{x: 0.5, y: 0.1, z:-1.0}}/>
</ARScene>

Refer to the example app for more detailed sample implementations.

Documentation

  • ARScene

    Parent object that represents object represents a three-dimensional scene and its contents. (Props: debugEnabled, run)

  • ARNode

    A structural element of in the 3D coordinate space, representing a position and transform in based on the parent node\scene. Can also represent custom 3d models as well as basic geometric shapes. (Props: geoposition, size, color, modelAssetPath)

    • ARBoxNode

      Node that has the box geometry. Subclass of ARNode.

    • ARSphereNode

      Node that has the sphere geometry. Subclass of ARNode.

    • ARTextNode

      Node that has the shape of a given text. Subclass of ARNode. (Additional prop: text)

Contributing

Any kind of contributions are very welcome. This library is still very bare-bones and has a lot of room for improvement. Please make sure to read the Contributing Guide and feel free to make pull-requests!

For issues or feedback, please create an Issue. For questions, or help, please get in touch with @icanb.

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].