{"id":13694286,"url":"https://github.com/ynagatomo/ARStickers","last_synced_at":"2025-05-03T01:32:12.742Z","repository":{"id":106360284,"uuid":"498214429","full_name":"ynagatomo/ARStickers","owner":"ynagatomo","description":"A minimal iOS AR app that puts stickers in the 3d space.","archived":false,"fork":false,"pushed_at":"2022-05-31T06:37:22.000Z","size":76,"stargazers_count":15,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-07T13:57:28.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ynagatomo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-31T06:31:22.000Z","updated_at":"2024-02-29T07:20:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c3ba953-7769-466d-b952-d360e6cdeec9","html_url":"https://github.com/ynagatomo/ARStickers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynagatomo%2FARStickers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynagatomo%2FARStickers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynagatomo%2FARStickers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynagatomo%2FARStickers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynagatomo","download_url":"https://codeload.github.com/ynagatomo/ARStickers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224346459,"owners_count":17296218,"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":[],"created_at":"2024-08-02T17:01:28.609Z","updated_at":"2024-11-12T20:31:54.375Z","avatar_url":"https://github.com/ynagatomo.png","language":"Swift","funding_links":[],"categories":["Misc"],"sub_categories":["Notes"],"readme":"# AR Stickers\n\n![AppIcon](https://user-images.githubusercontent.com/66309582/171107556-ec97ca33-615d-4c78-97b3-85e66d1788db.png)\n\nA minimal iOS AR (Augmented Reality) app that puts stickers in AR scene.\n\nUsing the app you can\n- enter notes from the keyboard to create stickers\n- place stickers in 360 degree 3d space around you\n- move stickers with drag gestures\n\nThe app provides minimal UI and features to keep the code simple,\nto clearly show the core logic.\n\nThe project;\n\n- Xcode 13.4\n- Target: iOS / iPadOS 15.0 and later\n- Frameworks: SwiftUI, ARKit, RealityKit2, Core Graphics\n\nIt shows;\n\n- drawing image textures using the Core Graphics framework\n- assigning textures to geometries at runtime\n- utilizing camera/device position and rotation\n- coordination between SwiftUI Views and ARView\n\nYou can draw any shape by using the Core Graphics API\nand use it as the image texture of the virtual object.\n\nPlease modify the project to make your own apps.\nARKit's world map save / load feature allows you to persist the state of a sticker in 3d space.\nOr you can use RealityKit's synchronization feature to share stickers among multiple people.\nI think it would be fun to add the image generated by the text-to-image AI to stickers.\n\n![Image](https://user-images.githubusercontent.com/66309582/171107988-02406cd6-b625-41d8-9f70-ef15b011d82d.jpeg)\n![GIF](https://user-images.githubusercontent.com/66309582/171107676-e5c69ea1-4bd6-4d86-b052-ac181cb75129.gif)\n\n## References\n\n- Apple Documentation: UIKit [UIGraphicsImageRenderer](https://developer.apple.com/documentation/uikit/uigraphicsimagerenderer/)\n- HWS Article: [How to draw a square using Core Graphics: addRect()](https://www.hackingwithswift.com/example-code/core-graphics/how-to-draw-a-square-using-core-graphics-addrect)\n\n![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynagatomo%2FARStickers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynagatomo%2FARStickers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynagatomo%2FARStickers/lists"}