--- a/cylindertransport-web.py Thu Apr 06 16:21:21 2017 +0200 +++ b/cylindertransport-web.py Thu Apr 06 17:18:24 2017 +0200 @@ -29,6 +29,7 @@ img_str = base64.b64encode(buffer.getvalue()) print json.dumps({ "objects": calc.circles, + "offset": (calc.width - (2 * calc.margin)) / 2, "scale3d": config.SCALE3D, "image": img_str })