Fill Shape?

Scale Box Origin:
X: , Y:
Scale Box End:
X: , Y:
Note: Changing the Scale Box data after you start drawing will lead to graphical disproportions.


Use this code to draw the shapes you design:

function draw_html_shape(shape_data,x,y,width,height,rotation,line_width,rotation_offset_x,rotation_offset_y){
context.translate(x,y);
context.rotate(rotation);
context.translate(-rotation_offset_x,-rotation_offset_y);
context.scale(width,height);
var scale=width;
if(height>width){
scale=height;
};
context.lineWidth=line_width/scale;
eval(shape_data);
context.scale(1/width,1/height);
context.translate(rotation_offset_x,rotation_offset_y);
context.rotate(-rotation);
context.translate(-x,-y);
};

Enter the text you get from the Get HTML button into the shape_data parameter.