{"id":802,"url":"https://github.com/kboy-silvergym/ARKit-Emperor","last_synced_at":"2025-07-30T20:33:03.205Z","repository":{"id":134825161,"uuid":"147675695","full_name":"kboy-silvergym/ARKit-Emperor","owner":"kboy-silvergym","description":"Power! Unlimited power for ARKit 2.0!","archived":false,"fork":false,"pushed_at":"2019-07-22T06:19:27.000Z","size":95957,"stargazers_count":540,"open_issues_count":1,"forks_count":61,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-08-14T14:06:27.207Z","etag":null,"topics":["arkit","ios","ios12","scenekit","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kboy-silvergym.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-06T13:12:02.000Z","updated_at":"2024-07-22T05:14:54.000Z","dependencies_parsed_at":"2023-06-26T00:09:37.742Z","dependency_job_id":null,"html_url":"https://github.com/kboy-silvergym/ARKit-Emperor","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kboy-silvergym%2FARKit-Emperor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kboy-silvergym%2FARKit-Emperor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kboy-silvergym%2FARKit-Emperor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kboy-silvergym%2FARKit-Emperor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kboy-silvergym","download_url":"https://codeload.github.com/kboy-silvergym/ARKit-Emperor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228187590,"owners_count":17882330,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arkit","ios","ios12","scenekit","swift"],"created_at":"2024-01-05T20:15:31.668Z","updated_at":"2024-12-04T20:31:07.888Z","avatar_url":"https://github.com/kboy-silvergym.png","language":"Swift","funding_links":[],"categories":["ARKit","OOM-Leaks-Crash"],"sub_categories":["Getting Started","AR-VR"],"readme":"\u003cimg width=\"900\" alt=\"thum\" src=\"https://user-images.githubusercontent.com/17683316/45263530-90de8980-b465-11e8-846f-9e04a5e80874.png\"\u003e\n\n![arkit](https://img.shields.io/badge/ARKit-2.0-brightgreen.svg) ![platform](https://img.shields.io/badge/platform-ios-blue.svg) ![ios](https://img.shields.io/badge/ios-11.0%2B-blue.svg) ![swift](https://img.shields.io/badge/swift-4.2-orange.svg) ![license](https://img.shields.io/badge/license-MIT-lightgrey.svg)\n \u003ca href=\"https://twitter.com/kboy_silvergym\"\u003e![tw](https://img.shields.io/badge/twitter-%40kboy__silvergym-blue.svg)\u003c/a\u003e\n \nA long time ago in a galaxy, far, far away...\n\nIt 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. \n\nDuring the Battle, Rebel spies managed to steal the data of the secret plans of ARKit 2.0...\n\n# What's this?\n\nThis is the dark side of [ARKit-Sampler](https://github.com/shu223/ARKit-Sampler).\n\nThe Emperor give you the most practical ARKit samples ever.\n\n**Unlimited power for ARKit!**\n\n# Samples\n\n## Doodle\n\n\u003cimg src=\"images/drawing.gif\" width=140\u003e\n\nYou 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. \n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Doodle)\n\n## Doodle2\n\n\u003cimg src=\"images/drawing2.gif\" width=140\u003e\n\nThis 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.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Doodle2)\n\n## Custom 3D Model from Bezier Path\n\n\u003cimg src=\"images/star.gif\" width=140\u003e\n\nYou can create 3D model by code using bezier path\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/CustomModel)\n\n## Placing pictures\n\n\u003cimg src=\"images/picture.gif\" width=140\u003e\n\nPlace your photo into the picture frame. You can make picture frames on SceneKit.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Picture)\n\n## SCNAction\n\n\u003cimg src=\"images/action.gif\" width=140\u003e\n\nUse SCNAction to  your object appeares more naturally.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Action)\n\n## Bubble mixed with your image\n\n\u003cimg src=\"images/bubble.gif\" width=140\u003e\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Bubble)\n\n## Physics\n\n\u003cimg src=\"images/physics.gif\" width=140\u003e\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Physics)\n\n\n## Color Grading\n\n|\u003cimg src=\"images/lut0.jpg\"\u003e|\u003cimg src=\"images/lut1.png\"\u003e|\u003cimg src=\"images/lut2.png\"\u003e|\u003cimg src=\"images/lut3.png\"\u003e|\n|:-:|:-:|:-:|:-:|\n|\u003cimg src=\"images/colorGrading.gif\" width=140\u003e|\u003cimg src=\"images/lut1demo.gif\" width=140\u003e|\u003cimg src=\"images/lut2demo.gif\" width=140\u003e|\u003cimg src=\"images/lut3demo.gif\" width=140\u003e|\n\nYou can make camera fileter using a LUT image.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/ColorGrading)\n\n## Particle\n\n|bokeh|confetti|fire|rain|reactor|smoke|star|\n|:-:|:-:|:-:|:-:|:-:|:-:|:-:|\n|\u003cimg src=\"images/bokeh.gif\" width=140\u003e|\u003cimg src=\"images/confetti.gif\" width=140\u003e|\u003cimg src=\"images/fire.gif\" width=140\u003e|\u003cimg src=\"images/rain.gif\" width=140\u003e|\u003cimg src=\"images/reactor.gif\" width=140\u003e|\u003cimg src=\"images/smoke.gif\" width=140\u003e|\u003cimg src=\"images/star_particle.gif\" width=140\u003e|\n\nShow default particle system.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Particle)\n\n## Shader\n\nInspired by https://github.com/laanlabs/SCNTechniqueGlow\n\nApple's official docs is https://developer.apple.com/documentation/scenekit/scntechnique\n\n\u003cimg src=\"images/shader.gif\" width=140\u003e\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Shader)\n\n## ARPointCloud\n\nIn default, you can show feature points easily by coding below.\n\n```swift\nsceneView.debugOptions = [ARSCNDebugOptions.showFeaturePoints]\n```\n\nIn this table, `default` is the default one.\n\n|default|custom1|custom2|\n|:-:|:-:|:-:|\n|\u003cimg src=\"images/point1.gif\" width=140\u003e|\u003cimg src=\"images/point2.gif\" width=140\u003e|\u003cimg src=\"images/point3.gif\" width=140\u003e|\n\nIf you show feature points like custom1 or custom2, chek [the code](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/ARPointCloud).\n\n## Plane Detection (ARKit 1.5~)\n\n|horizontal|vertical|\n|:--:|:--:|\n|\u003cimg src=\"images/plane.gif\" width=140\u003e|\u003cimg src=\"images/plane2.gif\" width=140\u003e|\n\nThe plane detection is available from ARKit 1.0, but this richer (available for not only rectangle) detection is available from 1.5.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/PlaneDetection)\n\nAnd you can implement simple occlusion like below.\n\n\u003cimg src=\"images/occlusion.gif\" width=140\u003e\n\n## Face\n\n\u003cimg src=\"images/tongue.gif\" width=140\u003e\n\nBy ARKit2.0, you can detect also gaze and tongue. This demo is using tongue detection.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Face)\n\n## Persistent Memo (ARKit 2.0~)\n\n\u003cimg src=\"images/memo.gif\" width=140\u003e\n\nUsing ARKit 2.0, you can save ARWorldMap and load it.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Memo)\n\n## Mirror (ARKit 2.0~)\n\n\u003cimg src=\"images/mirror.gif\" width=140\u003e\n\nUsing ARKit 2.0, It's not perfect but the object reflect around the environment.\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/Mirror)\n\n## Business Card (ARKit 2.0~)\n\n|Show|Tap|\n|:-:|:-:|\n|\u003cimg src=\"images/business_card1.gif\" width=140\u003e|\u003cimg src=\"images/business_card2.gif\" width=140\u003e|\n\nAugmented business card. If you register the image of your card, ARKit2.0 detects it and the 3D component made in SceneKit can be shown.\n\nIf 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](https://stackoverflow.com/questions/49006651/invalid-reference-image-arkit-1-5).\n\nThe code is [here](https://github.com/kboy-silvergym/ARKit-Emperor/tree/master/ARKit-Emperor/View/BusinessCard)\n\n# Author\n\n\u003cimg src =\"https://avatars3.githubusercontent.com/u/17683316?s=460\u0026v=4\" width=140\u003e\n\n**KBOY (Kei Fujikawa)**\n\niOS Developer in Tokyo Japan.\n\n- [Twitter](https://twitter.com/kboy_silvergym) / [Facebook](https://www.facebook.com/kei.fujikawa1)\n- [LinkedIn](https://www.linkedin.com/in/kei-fujikawa) / [Wantedly](https://www.wantedly.com/users/17820205)\n\n# Special Thanks\n\nThe thumbnail is designed by [@shujihirai](https://twitter.com/shujihirai)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkboy-silvergym%2FARKit-Emperor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkboy-silvergym%2FARKit-Emperor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkboy-silvergym%2FARKit-Emperor/lists"}