def updateDisplay(state):
    dw.fill(dw.white)
    dw.drawCircle((0, 0, 255), (500,500), state[2], state[2]-20)
def updateDisplay(state):
    dw.fill(dw.white)
    dw.drawCircle((0, 0, 255), (500, 500), state.currentMass, state.currentMass)
Beispiel #3
0
def updateDisplay(state):
    dw.fill(dw.white)
    dw.drawCircle((0, 0, 255), (250, 250), initialMass, 30)