motion_sickness_stabilizer 0.4.1
motion_sickness_stabilizer: ^0.4.1 copied to clipboard
Reduce motion sickness while using a phone in a moving vehicle — sensor-driven vehicle motion cues (animated dots), an artificial horizon and a focus dot, plus an Android system overlay that floats th [...]
0.4.1 #
Package renamed.
-
Renamed from
motion_stabilizer_coretomotion_sickness_stabilizerso the package is easier to find. No API changes — update your dependency and import:dependencies: motion_sickness_stabilizer: ^0.4.1import 'package:motion_sickness_stabilizer/motion_sickness_stabilizer.dart'; -
The old
motion_stabilizer_corepackage is discontinued and will receive no further updates.
0.3.0 #
More customization + fixes.
- Fixed: the horizon no longer spins on a quick shake — tilt is now heavily
smoothed via
horizonStabilization(0 = raw, 0.85 default, ~0.97 very calm). Uses the device gravity vector, so only sustained tilt rotates it. - New bubbles options:
dotShape(circle/ring/square/diamond),dotSizeJitter(organic per-bubble sizes),dotGlow, adotReactToMotionOpacitytoggle for the brighten-on-motion behaviour, and acenterplacement so bubbles can fill the middle. - Water-flow wave:
wavy/filledHorizonnow use a multi-harmonic travelling wave that flows like water and, withwaveReactsToMotion, "dances" with device motion.waveAnimatedtoggles static vs flowing. - The native Android overlay mirrors every new option; both layers verified.
- Example app exposes all new controls.
0.2.0 #
Customization overhaul + visibility fixes.
- Fixed: cues no longer vanish at rest or in the background — base visibility
is decoupled from motion. Bubbles ramp from
dotBaseOpacitytodotMaxOpacity; the horizon uses a constantdividerOpacity. - New: independent
showDots/showFocusDottoggles, and adividerStylewith six designs —line,wavy(animated),dashed,dualRail,filledHorizon(light-blue split),gradientBand— plusnone. - New: full styling control (colours, sizes, opacities, wave params) and
medically-informed presets
gentle(),standard(),intense(),calmHorizon(). - The native Android overlay mirrors every new style and animates continuously.
- Breaking: removed
showHorizon/horizonColor/minOpacity/maxOpacityand theHorizonLinewidget. UsedividerStyle/dividerColor,dotBaseOpacity/dotMaxOpacityandMotionDividerinstead.
0.1.0 #
Initial release.
- In-app motion cues:
MotionStabilizer,MotionOverlay,HorizonLineandFocusDot, driven by a reactiveMotionController. - Sensor fusion via
SensorService+MotionFilter(low-pass gravity removal and smoothing) oversensors_plus. - Android system overlay (
BackgroundOverlayService): a foreground service that floats the cues over other apps usingSYSTEM_ALERT_WINDOW, with the same motion maths implemented natively in Kotlin. - Optional Android accessibility-service toggle.
- Shared, serialisable
MotionCueConfigfor colour, layout, gain and axis handling. - Example app demonstrating both layers.