# ARKit-Sampler **Repository Path**: skyjieying/ARKit-Sampler ## Basic Information - **Project Name**: ARKit-Sampler - **Description**: Code examples for ARKit. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ARKit-Sampler [![Platform](http://img.shields.io/badge/platform-ios-blue.svg?style=flat )](https://developer.apple.com/iphone/index.action) [![Language](http://img.shields.io/badge/language-swift-brightgreen.svg?style=flat )](https://developer.apple.com/swift) [![License](http://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat )](http://mit-license.org) [![Twitter](https://img.shields.io/badge/twitter-@shu223-blue.svg?style=flat)](http://twitter.com/shu223) ARKit-Sampler is a collection of ARKit samples. ## How to build Open `ARKit-Sampler.xcworkspace` with Xcode and build it. It can **NOT** run on **Simulator**. ## Contents ### 3 lines AR A simple AR with 3 lines code. ### Plane Detection A sample to show how simply ARKit can detect planes. ### Virtual Object A sample to show how to add a virtual object to a detected plane. ### AR Interaction Interactions with virtual objects or detected plane anchors. ![](README_resources/interaction2.gif) ### AR Measure Measuring lengths in the real space. ### AR Drawing Drawing in the real space. ### Core ML + ARKit", AR Tagging to detected objects using Core ML. ### Metal + ARKit Rendering with Metal. ![](README_resources/arkitmetal.gif) ### Metal + ARKit (SCNProgram) Rendering the virtual node's material with Metal shader using `SCNProgram`. ### Simple Face Tracking Simplest Face-Based AR implementation. ![](README_resources/face.gif) ### Irregularly-Shaped Plane Detection **ARKit 1.5** A sample to show how to detect irregularly shaped surfaces using ARSCNPlaneGeometry and ARPlaneGeometry. ![](README_resources/irregular.gif) ### usdz A sample to show how to use `.usdz` files with ARKit. ## Author **Shuichi Tsutsumi** Freelance iOS programmer from Japan. Support via PayPal - PAST WORKS: [My Profile Summary](https://medium.com/@shu223/my-profile-summary-f14bfc1e7099#.vdh0i7clr) - PROFILES: [LinkedIn](https://www.linkedin.com/in/shuichi-tsutsumi-525b755b/) - BLOGS: [English](https://medium.com/@shu223/) / [Japanese](http://d.hatena.ne.jp/shu223/) - CONTACTS: [Twitter](https://twitter.com/shu223) / [Facebook](https://www.facebook.com/shuichi.tsutsumi) ## Special Thanks The icon is designed by [Okazu](https://www.facebook.com/pashimo)