Skip to content

Instantly share code, notes, and snippets.

@biokys
biokys / radar_client.pde
Last active May 17, 2020 04:40
Sources for ultrasonic range radar
import processing.serial.*;
int SIDE_LENGTH = 1000;
int ANGLE_BOUNDS = 80;
int ANGLE_STEP = 2;
int HISTORY_SIZE = 10;
int POINTS_HISTORY_SIZE = 500;
int MAX_DISTANCE = 100;
int angle;