Skip to content

Instantly share code, notes, and snippets.

View steveatinfincia's full-sized avatar

Stephen Oliver steveatinfincia

View GitHub Profile
@steveatinfincia
steveatinfincia / gist:1684204
Created January 26, 2012 18:27
Signal bars drawn in code from Mi-Fi Monitor
//where the lowest point on the bar begins in the rect
float baseline = 3.0f;
// the vertical stopping point of each bar if it isn't "filled"
float cutoff = 5.0f;
// offset everything from the left by this amount
float offset = 1.0f;
//width of each bar