trangle offfset example