Flux is an iOS app developed for the Apple Swift Student Challenge 2026 that transforms sound into sight. Using RealityKit, it turns ambient audio into a stunning, interactive 3D seascape, and integrates recommendations from the National Institute for Occupational Safety and Health (NIOSH) and the World Health Organisation (WHO) to inform users of safe exposure time limits when sound levels are too high. This offers a beautiful and engaging way to promote hearing health awareness.
demo.mp4
This project is packaged as a .swiftpm file, which can be run on an iPad or Mac.
For the best development experience or if encountering issues with the .swiftpm package, it is recommended to clone the repository and open the Xcode project directly:
- Clone this repository:
git clone git@github.com:xavierchen0/flux.git - Navigate to the project directory:
cd flux - Open
fluxin Xcode.
- Download the
flux.swiftpm.zipfile and unzip it. - Open the Swift Playgrounds app.
- SwiftUI: For the application's user interface and views.
- RealityKit: To create and manage the interactive 3D scene.
- AVFoundation: To capture and monitor real-time audio input from the microphone.


