Bezier Curve by pooq

int i;int a;int b;int c;int d;int e;int f;int g;int h;real t;real w;input a;input e;input b;input f;input c;input g;input d;input h;for i=0to 10{t=i*0.1;w=1-t;print w^3*a+3*w^2*t*b+3*w*t^2*c+t^3*d,w^3*e+3*w^2*t*f+3*w*t^2*g+t^3*h;}

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

download

return to the top page