def draw_cornu_flat(x0, y0, t0, t1, s0, c0, flip, cs, ss, cmd):
for j in range(<NUM_LIT:0>, <NUM_LIT:100>):<EOL><INDENT>t = j * <NUM_LIT><EOL>s, c = eval_cornu(t0 + t * (t1 - t0))<EOL>s *= flip<EOL>s -= s0<EOL>c -= c0<EOL>x = c * cs - s * ss<EOL>y = s * cs + c * ss<EOL>print_pt(x0 + x, y0 + y, cmd)<EOL>cmd = '<STR_LIT>'<EOL><DEDENT>return cmd<EOL>
Raph Levien's code draws fast LINETO segments.