This will scale the sketch by 2* and the second line will set the Location of the origin to be the negative position minus half the width/height divided by the scaling factor.
The effect I want to see is like the center is fixed to the innermost rotating circle and the drawing is moving around. Then I want to zoom in to see smaller circles.
Indeed, that‘s what this Code can be used for if you adapt it.
You‘ll just need to replace the scalingFactor (2) by a value relative to the size of the ellipse (Circle) you want to zoom in to. Same goes for the scalingFactor in the translate method.
And as for the position in the translate method, just use the Center of the target ellipse (Circle).