Metapost Sandbox
Debug
save
Save
play_arrow
Run
download
Export
share
Share
Link to share
Embed
person
Login using Github
My work
New...
Log out
Documentation
About
beginfig(0); width:=100; rotation:=45; pen calligraphicpen ; calligraphicpen := makepen ((0, 0)--(width,0 ) rotated rotation) ; z0 = (x1+150, 0); z1 = (0, y0+250); z2 = (x1+250, y1+250); z3 = (x2+250, y1); z4 = (x2, y0); pickup calligraphicpen; draw z0..z1..z2..z3..z4 withcolor green; endfig; end