• Stars
    star
    540
  • Rank 82,257 (Top 2 %)
  • Language
    Swift
  • License
    MIT License
  • Created about 6 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Power! Unlimited power for ARKit 2.0!

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

More Repositories

1

SnapLikeCollectionView

The collectionView library which is scaling, scrolling and stopping comfortably like Snapchat and Instagram.
Swift
216
star
2

ARCore-Kotlin-Sampler

Sample code for ARCore written in Kotlin
Kotlin
46
star
3

screen_time_api_ios

A Flutter plugin for using iOS ScreenTime API
Dart
28
star
4

SnapKitSample-iOS

The unofficial demo app of the Snapchat's Snap Kit
Swift
26
star
5

stripe-payments-firebase

Sample code for stripe payments with firebase on iOS.
Swift
20
star
6

ARCore-Swift-Sampler

ARCore Cloud Anchors sample code in Swift.
Swift
19
star
7

ScreenTimeAPIDemo

ScreenTime API Demo App
Swift
15
star
8

BeerKit

The framework for MultipeerConnectivity inspired by PeerKit
Swift
12
star
9

coriander

Flutter大学の解説用サンプルコード
Dart
12
star
10

Kinniku.kt-iOS

The app for 筋肉.kt.
Swift
10
star
11

MLKitSample

Firebase MLKit Sample for Swift (iOS) & Android (Kotlin)
Swift
8
star
12

SnapKitSample-Android

The unofficial demo app of the Snapchat's Snap Kit
Kotlin
6
star
13

FirebaseCloudFunctions-for-NewsApp

Firebase Cloud Functions & App Engine code for the news app I developed by myself.
JavaScript
6
star
14

3DMath-For-ARKit

Sample code for studying 3D Programming using ARKit.
Swift
5
star
15

barberry_iOS

筋トレ記録アプリ「バーベリー」の公開verです。たまに更新します。
Makefile
4
star
16

Tinder-With-FacePlusPlus

Auto evaluation and swipe on tinder using Face++ API
Swift
4
star
17

Aiseki-Scraping

Scraping Aiseki-Rounge information on firebase cloud functions
TypeScript
3
star
18

AisekiBlueOcean

Flutter app aggregates 'Aiseki' rounge
Dart
2
star
19

Kinniku.kt-Android

The app for 筋肉.kt (Event).
Kotlin
1
star
20

JankenApp

Flutterの教科書の課題「じゃんけん」
Dart
1
star
21

ARCameraApp

ARCameraApp Sample
Swift
1
star
22

CloudFunctions-Push-Sample

Firebase Cloud Functions Push Notification Sample
TypeScript
1
star
23

ios-mentor.github.io

1
star
24

kboy-silvergym

1
star
25

flutter_web3_sample

HTML
1
star
26

GmailTraceFlutter

10分でトレースしたGmailアプリ。
C++
1
star