Hello everyone,
I am making a webpage and. In photoshop i made a website layout. This is just a big rectangle image. Then i sliced it into a lot of smaller rectangles.
This is the website layout:
So I have s lot of images that are rectangles or squares and together they form a complete rectangle image.
As you can see in the image below:
I need an algorithm.
The idea is that i can adjust the big rectangle width to any value i want and the small tiles rearange themselves.
I have searched google, but i don't know where to start.
I don't know what this type of algorithm is called in mathematical terms of if it even exists.
Does anyone know something about this kind of algoritm?
Thank you very much in advance,
Jeffrey