tomriddle25 / SolarEclipse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Solar Eclipse Parallax Effect with Compose Multiplatform

This project showcases the creation of an immersive parallax effect that simulates a solar eclipse, built using Compose Multiplatform and leveraging sensor data from the accelerometer and magnetometer. It demonstrates how to dynamically adjust the rendering of foreground and background canvases in response to the device's orientation, enhancing the user experience with a visually engaging solar eclipse simulation.

Key Features

  • Responsive Solar Eclipse Simulation: Utilizes real-time sensor data to adjust the visual elements of the application, creating a captivating solar eclipse effect.
  • Efficient Sensor Data Management: Incorporates a custom SensorDataManager class designed for optimal handling of sensor data across platforms.
  • Advanced Compose Multiplatform Techniques: Employs sophisticated Compose Multiplatform features for animations, state management, and the implementation of custom modifiers to achieve stunning visual effects.
  • Cross-Platform Sensor Integration: Leverages Kotlin Multiplatform's expect-actual pattern to seamlessly integrate platform-specific sensor data, ensuring a uniform experience across different devices and platforms.

Video

About


Languages

Language:Kotlin 96.8%Language:Swift 3.2%