Box beforeRootBox = getBeforeRootBox(windowWithoutLabel);
afterRootBox.setupOuterRectangle(windowWithoutLabel);
afterRootBox.calcRootOffset();
int animationStart = initialFrameNumber + START_NUMBER;
int animationEnd = animationStart + TRANSITION_NUMBER;
Position topLeft = calcTopLeft(afterRootBox);
Vector<Transition> transitions = treeDiff.getTransitions(beforeRootBox, afterRootBox); // Done once!
for (int frame=initialFrameNumber; frame<animationEnd+END_NUMBER; frame++) {
g2D.setColor(COLOUR_SCHEME.getBackgroundColour());
g2D.fillRect(0, 0, WIDTH, HEIGHT);
if (frame<animationStart) { // Draw the 'before' box.