Bezier Curve by teebee(pooq)

q:stdin.get_s(99).split("
").map(|s|s.to_i).to_a;22.times{t:it/2*0.1;i:it%2;u:1-t;print(t*t*t*q[6+i]+3*t*u* u*q[2+i]+t*q[4+i],i<1?" ":"
");}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page