Bezier Curve by pooq

a={}for i=1,8 do a[i]=io.read"*n"end for b=0,10 do t=b/10 w=1-t s=" "for n=0,1 do io.write((w^3*a[1+n]+3*w^2*t*a[3+n]+3*w*t^2*a[5+n]+a[7+n]*t^3)..s)s="\n"end end

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

download

return to the top page