Sunday, September 1, 2019

Data smoothing in the Airball UX

Today I made a bunch of additions to the source code that smoothed the Airball display. But we also retain the instantaneous data that shows the range of turbulence being encountered. Here's how we do it. We will demonstrate by running the UI using some previously stored flight data.

First the takeoff:

Notice how the ball is stabilized, but there is a much fainter "trail" of the instantaneous data (we are showing the past 20 instantaneous data values, with brightness diminishing from 3/8 of the full brightness down to zero based on recency). Here's the landing:

The point here again is to show a stable value that you can "fly with" in turbulence, but also show the span of the wiggles.

1 comment :