appears to be working pretty well at this point
got rounded-rectangle shape calculations working