OiO.lk Blog C# How to divide a canvas into my squares number
C#

How to divide a canvas into my squares number


I have a 5504 x 1504 canvas , I looking for algorithm to find how many squares can spawn in canvas , the number of spawn square is different , for example for total 200 spawn , the algorithm should be calculate what is the size of square for 200 spawn and of course if the spawn number change to 500 then the size of squares should be different as well.
I hope I can explain what I need , thanks.



You need to sign in to view this answers

Exit mobile version