How I got into programming allthough I have no math skills is beyond me, but here I am.
Could someone help me or push me into the right direction with this, for me, unsolvable mathematical problem.
I have a number of images I want to lay out on the stage, the number can be whatever amount. The stage has a aspect ratio that the grid of images needs to follow, the size of the final “grid of images” is irrelevant since it will be scaled down to match the stage in the end. But how do I calculate how many images to put per row and how many rows to distrubute them on? The data I can put into the calculation is number of images and the aspect ratio I need from the final “image grid”
Help, anyone?