Our purpose is to explore the physics of gravitational waves via an analogy to audible sounds. Gravitational waves (GW) are ripples in the fabric of spacetime produced by colliding black holes, neutron stars, supernovae, and other astrophysical phenomena.
This app allows users to experience customized Gravitational Waves caused by coalescing binaries. It is also an informational tool to learn more about gravitational waves and the existing detections. Sounds of Spacetime is built with Xamarin Forms. As such, it is a cross-platform mobile app. Any platform specific logic routes to native code through an interface.
- Xamarin Forms
- SciChart
- OxyPlot
- Microsoft Open Solving Library for Ordinary Differential Equations (ODEs)
- Clone or Fork the project
git clone https://github.com/Nickprovs/SoundsOfSpacetime.Mobile.git
-
Install Dependencies via Nuget
-
Replace SciChart plotting implementation with OxyPlot implementation in AppDelegate.cs (iOS) and MainActivity (Android).
//From one of these (depending on platform)
containerRegistry.RegisterSingleton<IPlotService, SciChartService_iOS>();
containerRegistry.RegisterSingleton<IPlotService, SciChartService_Android>();
//To this
containerRegistry.RegisterSingleton<IPlotService, OxyPlotService>();
The reason for this is that I use SciChart in production because it's much faster than OxyPlot - but it's propietary and requires a key. However, you can still pull and run the app if you swap out the plotting service.