plot floor((x*f)*r)mod x where x=2, f=4 for r=0 to 0.99999