remove all the logic to do with shuffling stitches around to make space. this is not needed as the mesh will bend to make room
make renderContext a first class citizen
make renderConnectionLines private and add 'angle' to renderedStitch
extract renderIcon
new chain.png with transparency and introduce a separate imgHeight field in baseStitch as stitches aren't square