WxService ow4j171209
- Modified WxMonitor wind vector display to clean up a problem I've had since day one with 'crawly' wind direction display. The problem is, even when I retain precision and round properly, trying to display a short direction indicator line on the outer circle, the graphics resolution simply isn't good enough to draw a line with the proper slope and length. When I draw a line at the full radius, the problem goes away, because the resolution error is spread out along the full length of the line, instead of a short line segment. This is easiest to visualize if you imagine a two-pixel length line. The length and slope errors become overwhelming. When the line is thousands of pixels long, the length and slope errors are usually negligible.
- Changed the way WxMonitor displays UI updates. The monitor will now 'animate' each sensor update, instead of coalescing them. This improves the behavior for historical markers, such as the wind vector memory. It is also entertaining to watch the last 12 hours of data being animated when first starting WxMonitor.
- Modified the default command line behavior. The backlog default is now set to 12-hours, and the polling interval default is 5 seconds. If these values are acceptable to you, there's no need to specify anything on the startup command except for which weather server you want to connect to.