notes on 2d-shapes