{"id":21536680,"url":"https://github.com/kartmaan/bouncing_cube","last_synced_at":"2025-03-17T20:27:22.697Z","repository":{"id":155750851,"uuid":"308078694","full_name":"Kartmaan/bouncing_cube","owner":"Kartmaan","description":"Cube bouncing against window edges and against a changing obstacle","archived":false,"fork":false,"pushed_at":"2023-04-29T14:12:16.000Z","size":324,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T07:29:59.699Z","etag":null,"topics":["animation","bounce","bounce-animations","bugcollisiondetection","collision","collision-detection","color","cube","obstacle-detection","proportions","pygame","vectors"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Kartmaan.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":"2020-10-28T16:35:29.000Z","updated_at":"2024-05-06T14:22:20.000Z","dependencies_parsed_at":"2023-07-09T11:16:02.837Z","dependency_job_id":null,"html_url":"https://github.com/Kartmaan/bouncing_cube","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/Kartmaan%2Fbouncing_cube","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartmaan%2Fbouncing_cube/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartmaan%2Fbouncing_cube/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kartmaan%2Fbouncing_cube/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kartmaan","download_url":"https://codeload.github.com/Kartmaan/bouncing_cube/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244104819,"owners_count":20398738,"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":["animation","bounce","bounce-animations","bugcollisiondetection","collision","collision-detection","color","cube","obstacle-detection","proportions","pygame","vectors"],"created_at":"2024-11-24T03:20:57.840Z","updated_at":"2025-03-17T20:27:22.689Z","avatar_url":"https://github.com/Kartmaan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bouncing_cube 1.6.1\n\n## What does the program do ?\n- A cube bounces against the edges of the window and against a central obstacle which contracts little by little\n- The cube changes color depending on the location of its collision (upper/lower edges of the window, side edges of the window, over/under the central obstacle, etc.)\n- Each time the cube comes in contact with an edge of the window, the width of the central obstacle contracts a notch. The obstacle continues to contract to a minimum before it returns to its original size\n- The initial color of the obstacle changes color as it contracts\n- The animation speed can be controlled by pressing up arrow (speed ++) or pressing down arrow (speed --), the initial speed can be retrieved by pressing space\n- Real-time information can be displayed at the top left of the window (cube coordinates, obstacle width, vector etc. (Set `infoDisplay` to True)\n\n## Screenshots\n### Animation mosaic\n![bouncing](https://user-images.githubusercontent.com/11463619/97807740-dcb2a500-1c62-11eb-8fbd-18d26d138d20.jpg)\n\n### Infos display\n![bouncing_info](https://user-images.githubusercontent.com/11463619/97807743-e20fef80-1c62-11eb-819d-89c5786ad166.jpg)\n\n## Requirements :\n- `pygame`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartmaan%2Fbouncing_cube","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkartmaan%2Fbouncing_cube","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkartmaan%2Fbouncing_cube/lists"}