Power! Unlimited power for ARKit 2.0!

Overview

thum

arkit platform ios swift license tw

A long time ago in a galaxy, far, far away...

It is a period when iPhone SE and iPhone X were destroyed from the apple store, the AR market was under pressure by the Pokemon GO.

During the Battle, Rebel spies managed to steal the data of the secret plans of ARKit 2.0...

What's this?

This is the dark side of ARKit-Sampler.

The Emperor give you the most practical ARKit samples ever.

Unlimited power for ARKit!

Samples

Doodle

You can draw to the real space! This sample code is very simple but perfomance is not perfect because it adds a new node every time your finger moves.

The code is here

Doodle2

This sample is better than Doodle1 because the geometry is created once each line. If you customize the vertices and indices logic, you can create any line you want. But the logic is so complicated.

The code is here

Custom 3D Model from Bezier Path

You can create 3D model by code using bezier path

The code is here

Placing pictures

Place your photo into the picture frame. You can make picture frames on SceneKit.

The code is here

SCNAction

Use SCNAction to your object appeares more naturally.

The code is here

Bubble mixed with your image

The code is here

Physics

The code is here

Color Grading

You can make camera fileter using a LUT image.

The code is here

Particle

bokeh confetti fire rain reactor smoke star

Show default particle system.

The code is here

Shader

Inspired by https://github.com/laanlabs/SCNTechniqueGlow

Apple's official docs is https://developer.apple.com/documentation/scenekit/scntechnique

The code is here

ARPointCloud

In default, you can show feature points easily by coding below.

sceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints]

In this table, default is the default one.

default custom1 custom2

If you show feature points like custom1 or custom2, chek the code.

Plane Detection (ARKit 1.5~)

horizontal vertical

The plane detection is available from ARKit 1.0, but this richer (available for not only rectangle) detection is available from 1.5.

The code is here

And you can implement simple occlusion like below.

Face

By ARKit2.0, you can detect also gaze and tongue. This demo is using tongue detection.

The code is here

Persistent Memo (ARKit 2.0~)

Using ARKit 2.0, you can save ARWorldMap and load it.

The code is here

Mirror (ARKit 2.0~)

Using ARKit 2.0, It's not perfect but the object reflect around the environment.

The code is here

Business Card (ARKit 2.0~)

Show Tap

Augmented business card. If you register the image of your card, ARKit2.0 detects it and the 3D component made in SceneKit can be shown.

If you get the error (Make sure that all reference images are greater than 100 pixels and have a positive physical size in meters.), check the stack overflow.

The code is here

Author

KBOY (Kei Fujikawa)

iOS Developer in Tokyo Japan.

Special Thanks

The thumbnail is designed by @shujihirai

You might also like...
Trying TDD with ARKit
Trying TDD with ARKit

ARPlacer BDD Spec As a user I want to place a random object in real world. I also want to see the distance between AR object and my phone. Use Cases

Draw VR content over live camera feed with ARKit

funny-ar Exercise with ARKit: draw VR content over live camera feed: work is in

ARKit: Projecting 3D mesh to 2D coordinate
ARKit: Projecting 3D mesh to 2D coordinate

ARKitDemo ARKit: Projecting 3D mesh to 2D coordinate A simple utility to project 3D face mesh in 2D coordinate on device screen. Sources: https://deve

Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit
Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit

HomeMax-iOS Furniture E-Commerce Augmented Reality(AR) app in iOS powered by ARKit and SceneKit. Inspired by IKEA place app. Description Experience on

ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists
ARID - Augmented Reality app using Apple’s ARKit framework which can recognise faces of famous scientists

ARID Augmented Reality app using Apple’s ARKit framework which can recognise fac

ARDicee - Simple augmented reality app using SceneKit and ARKit
ARDicee - Simple augmented reality app using SceneKit and ARKit

ARDicee Simple augmented reality app using SceneKit and ARKit Requirements Xcode

Reality-iOS - NFT Augmented Reality(AR) app that demonstrate application of ARImageTracking in iOS powered by ARKit 2

Reality-iOS NFT Augmented Reality(AR) app that demonstrate application of ARImag

AR Ruler - A simple iOS app made using ARKit and SceneKit
AR Ruler - A simple iOS app made using ARKit and SceneKit

A simple iOS app made using ARKit and SceneKit.Which can try to simplify little things in your life such as measuring stuff.

 ARKit Car Rims
ARKit Car Rims

ARKit Car Rims Are you tired of thinking about what will look better while selecting or purchasing anything like where to put a flowerpot, lamp, a pho

Comments
  • BuildしようとするとMacがクラッシュする

    BuildしようとするとMacがクラッシュする

    開発環境 Macbook Pro 2018 macOS Mojave 10.14.3 Swift4.2.1 Xcode 10.1 実機iOS 12.1.3

    ※当方ほぼ素人でして、多少の支離滅裂な言動には目をお瞑りください。

    内容 ARKit-EmperorをCopyしてXcodeで開き早速Buildしようと思っていると4つほどエクスクラメーションマークが。 1つ目 FaceViewController.swiftのrendererの中身に関して、 Value 'faceAnchor' was defined but never used; consider replacing with boolean test の記載。

    2つ目と3つ目 RemoteViewController.swiftのrendererの中身に関して、 Value 'objectAnchor' was defined but never used; consider replacing with boolean test

    String interpolation produces a debug description for an optional value; did you mean to make this explicit? の記載。

    4つ目 AppDelegate.swiftのapplicationのUINavigationBar.appearance().titleTextAttributes = navigationAttributes as [NSAttributedStringKey : Any] return true の部分に関して

    Expression implicitly coerced from '[NSAttributedStringKey : Optional]' to '[NSAttributedStringKey : Any]'

    の記載。

    おそらく無視してもいいのでしょうが5つ目としてConversion to Swift 4.2 is available の記載。

    5つ目以外の!は適当にぽちぽちしてるとFixがサジェストされたので出た通りに直した。

    いよいよBuildとなったのだがRun ボタンを押してTaskが130あたりまではガンガン進むのだが130辺りでピタッと止まる。おかしいぞと思っているとマウスポインターが止まって消えファンがぶおおおおおおおおおおおおおおと言いつつ最後にすあ!みたいな音をたてて強制シャットダウンされました。

    原因、あるいは解決策の提示をお願いできたらなと思います。

    opened by go-to-the-future 5
Releases(2.0)
Owner
KBOY (Kei Fujikawa)
Welcome to 'KBOY's Flutter University'!
KBOY (Kei Fujikawa)
ARKit Demo Application

ARKitNavigationDemo Work in progress. In Progress Region — For one, we could render far fewer nodes. In fact, it’s a bit distracting that the entire t

Christopher Webb 296 Dec 16, 2022
An iOS Framework Capture & record ARKit videos 📹, photos 🌄, Live Photos 🎇, and GIFs 🎆.

An iOS Framework that enables developers to capture videos ?? , photos ?? , Live Photos ?? , and GIFs ?? with ARKit content.

Ahmed Bekhit 1.5k Dec 24, 2022
IOS example app to generate point clouds in ARKit using scenedepth

Visualizing a Point Cloud Using Scene Depth Place points in the real-world using the scene's depth data to visualize the shape of the physical environ

Isak Diaz 20 Oct 31, 2022
ARKit Base Project. Place virtual objects based on WWDC example project

ARKit - Placing Virtual Objects in Augmented Reality Learn best practices for visual feedback, gesture interactions, and realistic rendering in AR exp

Ignacio Chiazzo Cardarello 338 Jan 5, 2023
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
This library uses ARKit Face Tracking in order to catch user's smile.

SmileToUnlock Make your users smile before opening the app :) Gif with the demonstration Installation Cocoapods The most preferable way to use this li

Ruslan Serebriakov 628 Oct 22, 2022
PlacenoteSDK Sample app in native iOS using ARKit, written primarily in Swift

Placenote SDK for iOS Placenote SDK lets you easily build cloud-based Augmented Reality (AR) apps that pin digital content to locations in the real wo

Placenote 93 Nov 15, 2022
A library that allows you to generate and update environment maps in real-time using the camera feed and ARKit's tracking capabilities.

ARKitEnvironmentMapper Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation ARKitEnv

SV Hawks 91 Dec 4, 2022
Augmented Reality image tracking with SwiftUI, RealityKit and ARKit 4.

ARImageTracking This is an Augmented Reality Xcode project that uses Apple's newest RealityKit framework and ARKit 4 features, to dynamically track a

Richard Qi 198 Dec 7, 2022
A simple application created for educational purposes for mastering ARKit

ARDrawing AR Drawing is a simple application created for educational purposes for mastering ARKit. The basis of the project is copied from the project

NIKOLAY NIKITIN 0 Oct 20, 2022