Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

Hey everyone! I'm trying to finish up the art_viewer.py and I'm stumped on how to go about scaling the coordinates so that the pointillist image fills the entire window. Any tips on how to get it going?

asked in CSC201 Spring 2021 by (8 points)

1 Answer

+6 votes
 
Best answer

You can try ratio = your window size / the image's width/length. Then multiply x and y coordinates by this ratio.

answered by (8 points)
selected by
+1

Oh perfect thank you!

...