Here is a radar display for use with an Arduino, servo motor and a HC-SR04. Its not yet perfect as the window resize is not working properly, except maximise window. Libraries required are at the top of the code. Sorry about the GIF, I am still trying to get to grips with ShareX.
I created a new class of type CustomView [XUI]
It is a ProgressBar that simulates a submarine radar.
I attached an example to this post and the source code of the class
Private RadarProgress1 As RadarProgress
Sub Activity_Create(FirstTime As Boolean)...