October 22, 2024
Chicago 12, Melborne City, USA
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

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video