I built a real-time 360° ultrasonic radar, plotted live in MATLAB, for under $10 in total parts. Open-sourced everything, link in the text body

"Processing" is free. DF Robot LIDAR Sensors - Getting Started with LIDAR | DroneBot Workshop

MATLAB is not.

If you have a 2:1 gear/pully attached to a 180 degrees servo, you can sweep 360 degrees. RADAR System Using Arduino | Arduino Project Hub

Also... this is a re-post of this: 4 open source Arduino/ESP32 projects, all with schematics and code. Robot arm, ultrasonic radar, IoT