Week 5 – ARKit & Swift

This week we were given the task to create 2 programs – Fibonacci and Lyrics – on Swift. Below are the screenshots of the programs and the app interface when you tap on the screen.

The second part is the creation of our own One Button AR app. For this portion, I wanted to continue my farm animal streak from the weeks before. I imported a grass field mesh and a bunny mesh into Reality Composer.  I added the grass field and the bunnies to the origin anchor, so when you enter AR this view would pose as the world.

For user interactivity, each tap would cause a carrot to appear, as if you were feeding the bunny. I wanted to try and make the bunny to scale up in size to indicate that the bunny “ate” the carrot, but I was having trouble figuring out the code for it. So that would be the next step for this project. Also, it would be really cool if I could target the bunny that the carrot drops on scale up and have the carrot be removed after a set period of time. 

Here’s the link!

Model Credit: Grass: Somersby, Bunny: yellowkab

Leave a Reply