Skip to content

v1.7.0

Choose a tag to compare

@github-actions github-actions released this 14 Jun 14:43

Flux Hourglass 1.7.0

A major feature release introducing 5 premium interactive, accelerometer-driven particle-physics and fluid simulation modes: MAGNETIC, AURORA, RAIN, BLACKHOLE, and ELECTRIC. This release elevates the minimalist timer experience with satisfying physics and multi-touch gestures.

Highlights

  • Magnetic Ferrofluid Mode (MAGNETIC).
    • Features spiky black ferrofluid fluid dynamics that accumulate and stretch towards a virtual magnet.
    • Spikes bristle and wiggle organically with time-based sine wave micro-vibrations.
    • Interactive dragging moves the virtual magnet attraction center on touch.
  • Aurora Flow Field Mode (AURORA).
    • Sweeps glowing teal, green, and purple particles through a dynamic trigonometry flow field.
    • Particles drift with device tilt and slowly settle into a calm, glowing sediment layer at the bottom.
    • Touching the screen creates a powerful swirling vortex that redirects the particle winds.
  • Rain & Ripples Mode (RAIN).
    • Simulates rain condensation sliding down a glass pane, merging with other drops upon collision.
    • Drops slide at an angle determined by the device accelerometer (gravity vector).
    • Touching the screen sweeps drops away like a finger wiping the condensation.
  • Accretion black hole Mode (BLACKHOLE).
    • Features star particles orbiting a growing gravitational singularity.
    • Star orbits are perturbed by device tilt and experience friction, spiraling inward until they cross the event horizon.
    • Touching the screen spawns a secondary mini-singularity, splitting orbital streams.
  • Tesla Plasma Globe Mode (ELECTRIC).
    • Generates electric discharge arcs using recursive midpoint displacement fractal algorithms.
    • Arcs bend upward to simulate hot gas rising against the accelerometer's gravity vector.
    • Touching the screen focuses all main plasma arcs directly to the finger coordinate with rapid haptic micro-pulses.

Implementation Notes

  • Interactivity is managed through a unified pointerInput system using Compose's custom awaitPointerEventScope to cleanly capture tap, hold, drag, and release events in one thread-safe pass.
  • Accelerometer low-pass filtering feeds into all physics loops, adjusting drag directions, gravitational pull, and convective heat rise in real-time.