Javascript function to do block placement optimization

Zaprto Objavljeno pred 4 letoma/leti Plačilo ob prevzemu
Zaprto Plačilo ob prevzemu

I have a current javascript file that needs to be improved:

The scripts takes block (input by user) and places them on a canvas in an optimized way. Optimized means that the shapes are shuffled or randomly placed until the method with the least amount of waste is determined

Currently the script only fills one canvas and then outputs a "did not fit" list of all the blocks that were not able to be placed. For example

Lets take a canvas size of 2730mm x 1830mm. We then want to cutout/place 5 blocks of 2000 x 1700mm. It is quite evident that you will need 5 canvasses as each block takes up more than half the canvas. If say we reduced the required block size to 2000x900 we should be able to get two block per canvas so we should need 3 x canvasses

for the javascript files see attached

to see explanation video please follow this youtube link

[login to view URL]

JavaScript CSS HTML jQuery / Prototype HTML5

ID projekta: #24531843

Več o projektu

6 predlogov Oddaljen projekt Aktiven pred 4 letoma/leti

6 freelancerjev ponuja v povprečju za $27 na tem delu

PageOllice

Greetings, I have been working in IT industry from last 8 years and delivered many projects successfully. Your project fit my skills and experience, so I would like to discuss with you on its details. I am available Več

$50 USD v 7 dneh
(18 ocen)
5.3
kanwarrajani

Hi dear client, i had seen your job post in freelancer.com it's well explained. Can you please share your entire idea or reference url for your requirements if any you have,  so I can take a look on it and I will h Več

$35 USD v 3 dneh
(7 ocen)
3.5
anirbanM007

Hi, I checked the attached youtube video and I can do this job quickly. I have more than 7 years of experience as a UI developer. Please contact me soon.

$15 USD v 1 dnevu
(10 ocen)
3.0
yashgohel16

Ok, I literally didn't understand everything in the video. I will try to keep your stuff done Thank you.

$18 USD v 3 dneh
(0 ocen)
0.0