Arduino Based Radar System

I have developed a visual experience of radar by processing ID with ultrasonic sensor, servo motor and Arduino.

First I made a cardboard stand for connecting the Ultrasonic sensor to the Servo motor. I just screwed it on the servo motor as shown above
Make the connections as shown in the schematics
Upload the code to the Arduino
Check the serial monitor whether the ultrasonic sensor is working or not (first one shows the servo rotating degree and the next one shows the distance measured by the ultrasonic sensors).
Close the Arduino IDE
Download the Processing IDE: https://processing.org/download/
Extract the zip file and install the software by clicking on the processing.exe file
Paste the code given below into the Processing IDE

Link