Black holes in general relativity
Schwarzschild trajectories: Explore the possible trajectories of test particles around a spherically symmetric source.
Light deflection: Discover optical effects that occur when a massive object lenses a background light source.
Gravitational waves: Watch two black holes merge and hear the gravitational waves they produce in the process.
- Download the Swift Playgrounds App on your iPad.
- Add the Play with Gravity feed to the Swift Playgrounds App and load the Black holes playground.
Alternatively, this is the URL you can manually add to the Swift Playgrounds App to subscribe to the Play with Gravity feed:
- Play with Gravity feed URL: https://nilsleiffischer.de/relativity-playgrounds-feed/feed.json
You can also manually download the Black holes playground on your iPad or Mac:
On your iPad: Select Open with "Playgrounds".
Or on your Mac: AirDrop the file to your iPad and select Open with "Playgrounds".
About this project
I created this Swift playground book as part of my application for the Apple WWDC 2017 scholarship. For all three simulations I modelled the physics of general relativity in Swift data structures and used the SpriteKit and UIKit frameworks of the iOS platform to visualise the dynamics on screen. To make the educational material engaging for the reader, I employ features of the iOS device such as touch input, motion control and audio feedback that encourage exploration of the scientific phenomena.
- Author: Nils Leif Fischer
Copyright (c) 2017 Nils Leif Fischer