{"id":17697727,"url":"https://github.com/krshrimali/knapsack-problem-using-javascript-p5-js-","last_synced_at":"2025-03-31T00:42:21.322Z","repository":{"id":85219498,"uuid":"107357743","full_name":"krshrimali/Knapsack-Problem-using-Javascript-P5-JS-","owner":"krshrimali","description":"These are my own programs in P5 js","archived":false,"fork":false,"pushed_at":"2019-07-25T13:11:17.000Z","size":1326,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T08:26:12.018Z","etag":null,"topics":["algorithms","knapsack","p5","p5js"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krshrimali.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-18T04:11:34.000Z","updated_at":"2022-08-11T15:47:55.000Z","dependencies_parsed_at":"2023-03-08T22:00:39.261Z","dependency_job_id":null,"html_url":"https://github.com/krshrimali/Knapsack-Problem-using-Javascript-P5-JS-","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krshrimali%2FKnapsack-Problem-using-Javascript-P5-JS-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krshrimali%2FKnapsack-Problem-using-Javascript-P5-JS-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krshrimali%2FKnapsack-Problem-using-Javascript-P5-JS-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krshrimali%2FKnapsack-Problem-using-Javascript-P5-JS-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krshrimali","download_url":"https://codeload.github.com/krshrimali/Knapsack-Problem-using-Javascript-P5-JS-/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399797,"owners_count":20770907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","knapsack","p5","p5js"],"created_at":"2024-10-24T14:48:21.711Z","updated_at":"2025-03-31T00:42:21.297Z","avatar_url":"https://github.com/krshrimali.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Knapsack in P5 JS\n\nThis is an implementation of Knapsack problem, in p5 js. With a refresh, every time the knapsack is loaded with random capacity (being shown on-screen), and the final output being shown as well (optimal cost). \n\nAlso note that this is the most optimized solution only, feasible solutions have not been shown. (Optimized Solution - Profit per unit weight method).\n\n\u003cimg src=\"https://raw.githubusercontent.com/krshrimali/Knapsack-Problem-using-Javascript-P5-JS-/master/Knapsack-Kushashwa.png\"/\u003e\n\nCredits - Kushashwa Ravi Shrimali \n\nFor any doubts, feel free to get in touch with me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrshrimali%2Fknapsack-problem-using-javascript-p5-js-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrshrimali%2Fknapsack-problem-using-javascript-p5-js-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrshrimali%2Fknapsack-problem-using-javascript-p5-js-/lists"}