ui: multiple visual upgrades:

- attitude indicator: pitch ladders and little triangle crosshair
- accelerometer: G trace and various other stuff
- navigator: bigger surprise
This commit is contained in:
Mikkeli Matlock
2026-02-05 00:55:18 +09:00
parent 7301149c47
commit 477fd698dc
4 changed files with 106 additions and 55 deletions

View File

@@ -88,8 +88,8 @@ class NavigatorWidgetState extends State<NavigatorWidget>
animation: _shakeController,
child: image,
builder: (context, child) {
final shake = sin(_shakeController.value * pi * 6) * 10 *
(1 - _shakeController.value); // 6 oscillations, 4px amplitude, decay
final shake = sin(_shakeController.value * pi * 6) * 25 *
(1 - _shakeController.value); // 6 oscillations, 25px amplitude, decay
return Transform.translate(
offset: Offset(shake, 0),
child: child,