Search code examples
javadictionaryvisualizationsignal-strength

Simulation and visualization of traces and signal on a map


Concept: A database contains the signal strength values of several access points in a building. The values have been collected after a walk through the corridors of the building. Now I want to visualize this route on a floor map with the changes of the signal strength.

So I need to implement a visualization/simulation mechanism in Java for this. What do you suggest? From where should I start? Any help? I am not looking for something professional..

example


Solution

  • One place to start is really simple: create a 2D canvas, and at each x,y where signal was measured, put a colored circle that indicates signal strength. This will allow you to distinguish a dozen levels of strength. If you need more info you can then put a mouse event handler so if you hover over a circle you can get strength value. After that, you'll probably realize other capabilities you need and this will guide your next set of features. This will lead to organic growth of your app, which will eventually make it unmaintainable. ;) At that point you will have gained significant understanding of your requirements (visualization, edit, etc), so you'll be able to start fresh with a clear set of requirements, a more robust design, and the added features that were too difficult to implement before the re-design :)