def contactEnded(c):
    for b in (c.getBody1(), c.getBody2()):
        if not b.isStatic() and b.getSize() > 5:
            b.setSize(b.getSize() * 0.9)
dataset/ETHPy150Open jdf/processing.py/examples.py/Fisica/contact_resize.py/contactEnded/original