beginfig(1);
    path p;
    path pp;

    u := 1cm;

    p := (0, 0)--(-u, u){left}..(-u, -u)--cycle;
    pp := (u, u){up}--(2 * u, 2 * u){up}..(0, 2 * u)--cycle;

    fill p withcolor .8*white;
    fill pp withcolor .8*white;
    draw p;
    draw pp;

    drawarrow (-25mm, 0)--(25mm, 0);
    drawarrow (0, -25mm)--(0, 25mm);

    draw (0,0) withpen pencircle scaled 3bp;
    draw (u,u) withpen pencircle scaled 3bp;

    pair N, E, S, W, C;
    C:=(5cm, 2cm);
    N:=(5cm, 25mm);
    E:=(55mm, 2cm);
    S:=(5cm, 15mm);
    W:=(45mm, 2cm);
    drawarrow C--N withpen pencircle scaled 1bp;
    drawarrow C--E withpen pencircle scaled 1bp;
    drawarrow C--S withpen pencircle scaled 1bp;
    drawarrow C--W withpen pencircle scaled 1bp;
    label.top(btex N etex, N);
    label.rt(btex E etex, E);
    label.bot(btex S etex, S);
    label.lft(btex W etex, W);
endfig;

beginfig(2);
    path p;

    u := 1cm;

    p := (0, 0)--(u, u){right}..(u, -u)--cycle;
    fill p withcolor .8*white;
    p := (u, 0)--(0, u){up}..(2 * u, u)--cycle;
    fill p withcolor .8*white;
    p := (u, u)--(0, 0){left}..(0, 2 * u)--cycle;
    fill p withcolor .8*white;
    p := (0, u)--(-u, 0){down}..(u, 0)--cycle;
    fill p withcolor .8*white;

    p := (0, 0)--(u, u){right}..(u, -u)--cycle;
    draw p;
    p := (u, 0)--(0, u){up}..(2 * u, u)--cycle;
    draw p;
    p := (u, u)--(0, 0){left}..(0, 2 * u)--cycle;
    draw p;
    p := (0, u)--(-u, 0){down}..(u, 0)--cycle;
    draw p;


    drawarrow (-25mm, 0)--(25mm, 0);
    drawarrow (0, -25mm)--(0, 25mm);

    draw (0,0) withpen pencircle scaled 3bp;
    draw (u,u) withpen pencircle scaled 3bp;
    draw (0,u) withpen pencircle scaled 3bp;
    draw (u,0) withpen pencircle scaled 3bp;
    
    pair N, E, S, W, C;
    C:=(5cm, 2cm);
    N:=(5cm, 25mm);
    E:=(55mm, 2cm);
    S:=(5cm, 15mm);
    W:=(45mm, 2cm);
    drawarrow C--N withpen pencircle scaled 1bp;
    drawarrow C--E withpen pencircle scaled 1bp;
    drawarrow C--S withpen pencircle scaled 1bp;
    drawarrow C--W withpen pencircle scaled 1bp;
    label.top(btex N etex, N);
    label.rt(btex E etex, E);
    label.bot(btex S etex, S);
    label.lft(btex W etex, W);

endfig;

end.
