TimesToCome Mobile

iOS apps and tips, tricks and tools for smart phones

Rotating and Bouncing Sphere in SCNSceneKit and Swift




I started digging into SceneKit today, it’s very much like GLUT, for any of you old enough to remember GLUT. Source code below.

iOS Simulator Screen Shot Jul 24, 2014, 12.24.31 PMiOS Simulator Screen Shot Jul 25, 2014, 11.59.46 AM

Many thanks to Lights, Camera, Action – 3D in iOS 8 with Scene Kit who gave me enough information to get going.

Rotating Sphere source code, iOS, SceneKit, Swift
3D bouncing ball source code, iOS, SceneKit, Swift