Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alinebee/Boxify
An ARKit box-drawing demo.
https://github.com/alinebee/Boxify
Last synced: about 1 month ago
JSON representation
An ARKit box-drawing demo.
- Host: GitHub
- URL: https://github.com/alinebee/Boxify
- Owner: alinebee
- Created: 2017-06-20T02:30:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-26T06:46:15.000Z (about 7 years ago)
- Last Synced: 2024-08-04T00:05:14.545Z (5 months ago)
- Language: Swift
- Size: 26.4 KB
- Stars: 13
- Watchers: 1
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE/LICENSE.txt
Awesome Lists containing this project
README
# Boxify
This is an ARKit project that demonstrates drawing out a 3-dimensional box in the world, which can be rotated and resized from each of its faces.
### Requirements
1. XCode 9 (or newer)
2. [One of the following devices (or newer) running iOS 11 (or newer)](http://wccftech.com/heres-the-list-of-iphone-models-compatible-with-the-arkit-in-ios-11/):
- The 2017 9.7-inch iPad
- All three variants of the iPad Pro
- iPhone 7 Plus
- iPhone 7
- iPhone 6s Plus
- iPhone 6s
- iPhone SE### Instructions
0. Build the project and launch it on your device. Grant it permission to access the camera.
1. Move the device around until ARKit detects a suitable horizontal surface - this will appear as a flat blue rectangle.
2. Tap somewhere inside the blue rectangle and drag to begin pulling out a straight line from that point.
3. Release your finger to confirm the line.
4. Drag the line to either side to pull it out into a 2-dimensional rectangle.
5. Tap within the rectangle and drag to pull it out into a 3-dimensional box.
6. Tap and drag on any face of the box to resize the box from that face.
7. Put two fingers on the screen and twist to rotate the box.
8. Double-tap on the screen to delete the box and start again.### Acknowledgements
This project uses code from Apple's [ARKitExample sample project](https://developer.apple.com/arkit/). It evolved from a Shopify hackdays project between @paige.sun, @ignacio.chiazzo and @alun.bestor.