Skip to content

mattrajca/Physics-Demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Physics-Demos

A variety of physics-based demos for iOS and Mac OS X.

BounceyBalls

The sample code for the Writing a Bouncing Ball Physics Simulation for iOS article. BounceyBalls utilizes the Chipmunk physics engine and Core Animation. The gravitational field of the simulation is mapped to the accelerometer; as you tilt your iOS device, the balls rendered on-screen move with respect to gravity.

Turbine

Turbine is a realistic simulation of a wind turbine for iPad, implemented on top of SpriteKit. To get the fan of the turbine to spin, simply blow into the microphone. The angular velocity of the turbine is governed by kinematic equations for rotational motion.

About

A variety of physics-based demos for iOS and Mac OS X

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages