Job description
Good day.
I will order to write a script that allows the end user to place goods in a given area. The following algorithm defines how the script should work.
1. The user enters the length and width of the area in cm on which he will deploy the goods.
2) The script generates an appropriately scaled area and allows the user to add an unlimited number of goods by entering the length and width in cm.
(3) The script generates a properly scaled object and places it in the closest possible place, starting from the upper left corner.
(4) If the item is larger than the area generated by the end-user or larger than the space that remains, the script informs the user.
(5) The user has the ability to freely move objects within the area without overlapping.
6. the user has the ability to rotate the created objects by 90 degrees.
In addition, the possible second stage to be discussed