smooth rendering

balls now move smoothly
standardized units
refined input detection