Hero image

Scaled Image

What the code does

This demo shows you how to draw an imaged scaled in size centered at a given point on the screen. In this case we repeatedly draw the ribbit image included in PTB, scaled down in size on each interation. The images are stacked on top of one another showing the order of drawing. 

Visualisation

The code

Instagram image Instagram image Instagram image Instagram image Instagram image Instagram image