by Peter Wilson (25 Submissions)
Category: Graphics
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (11 Votes)
This is a simple radar simulation. The radar sweeps around in a circle looking for aircraft using the 'Dot Product'. Once it finds the aircraft it remembers it's location and plots it on the scope. The aircrafts last known location will then gradually fade until the next time it gets hit. If you swing the radar too fast you will miss an aircraft (just like a real radar unit).
This radar demo was inspired by the following two submissions:
1)
Title: Air Traffic Control Simulator
Author: seyi Ogunbanjo
https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=66211&lngWId=1
2)
Title: A Radar Screen
Author: Kenneth Foster
https://www.vbcoders.com/vb/scripts/ShowCode.asp?txtCodeId=66278&lngWId=1
Download Radar Simulation (88 KB)