{"id":21141185,"url":"https://github.com/shz-code/gravity-computer-graphics","last_synced_at":"2025-10-26T07:38:15.979Z","repository":{"id":238188665,"uuid":"796055704","full_name":"shz-code/gravity-computer-graphics","owner":"shz-code","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-04T20:00:43.000Z","size":69,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T07:07:36.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/shz-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-05-04T19:57:11.000Z","updated_at":"2024-05-04T20:00:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"475b00b6-0f7a-4c9e-ba43-8368b881f66a","html_url":"https://github.com/shz-code/gravity-computer-graphics","commit_stats":null,"previous_names":["shz-code/gravity-computer-graphics"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shz-code%2Fgravity-computer-graphics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shz-code%2Fgravity-computer-graphics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shz-code%2Fgravity-computer-graphics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shz-code%2Fgravity-computer-graphics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shz-code","download_url":"https://codeload.github.com/shz-code/gravity-computer-graphics/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243581094,"owners_count":20314167,"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":[],"created_at":"2024-11-20T07:24:31.480Z","updated_at":"2025-10-26T07:38:10.946Z","avatar_url":"https://github.com/shz-code.png","language":"C++","readme":"# Simple Gravity App with freeglut\n\nThis project provides a simple interactive visualization tool that allows users to explore and compare the effects of gravity on falling objects on different planets. It uses the freeglut library for rendering graphics.\n\n# Features\n- Visualization of gravity effects on falling objects(apple).\n- Comparison of gravity strength on different planets.\n- Interactive controls to change parameters such as planet selection.\n\n# Prerequisites\n- C/C++ compiler\n- freeglut library. [Refer to this tutorial](https://youtu.be/7rLo69vCooU?si=d1iqBGpwfx4zGqFt)\n\n# Screenshots\n![Image](./images/opening.png)\n![Image](./images/falling.png)\n![Image](./images/dead.png)\n\n# Installation\n- Clone or download the repository to your local machine.\n```bash\ngit clone https://github.com/shz-code/gravity-computer-graphics.git\n```\n- Install freeglut library if you haven't already.\n- Open the project in CodeBlocks. Build and run the main.cpp file.\n\n# Usage\n- Run the compiled executable.\n- Use keyboard or mouse controls to interact with the visualization.\n- Select different planets to see their gravity effects.\n\n# Controls\n- Use Mouse to stop and start animation.\n- Press keys E, M, N to select different planets.\n\n# License\nThis project is licensed under the MIT License.\n\n# Acknowledgements\nThis project was inspired.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshz-code%2Fgravity-computer-graphics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshz-code%2Fgravity-computer-graphics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshz-code%2Fgravity-computer-graphics/lists"}