{"id":16223630,"url":"https://github.com/iambijoykar/floating_hippo","last_synced_at":"2025-04-08T01:45:23.215Z","repository":{"id":216647771,"uuid":"741895642","full_name":"iamBijoyKar/floating_hippo","owner":"iamBijoyKar","description":"A simple 2D simulation library using Pymunk and Pygames","archived":false,"fork":false,"pushed_at":"2024-04-15T16:37:05.000Z","size":7979,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T16:53:31.774Z","etag":null,"topics":["2d","2d-simulation","beginner-friendly","pygame","pymunk","python","python-library","python3","simulation","simulations"],"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/iamBijoyKar.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":"2024-01-11T10:35:43.000Z","updated_at":"2024-04-17T05:52:26.000Z","dependencies_parsed_at":"2024-01-11T16:47:48.626Z","dependency_job_id":"4d795e22-1924-4919-8c4e-3f23a02ae4dc","html_url":"https://github.com/iamBijoyKar/floating_hippo","commit_stats":null,"previous_names":["iambijoykar/floating_hippo"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBijoyKar%2Ffloating_hippo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBijoyKar%2Ffloating_hippo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBijoyKar%2Ffloating_hippo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamBijoyKar%2Ffloating_hippo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamBijoyKar","download_url":"https://codeload.github.com/iamBijoyKar/floating_hippo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247761030,"owners_count":20991533,"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":["2d","2d-simulation","beginner-friendly","pygame","pymunk","python","python-library","python3","simulation","simulations"],"created_at":"2024-10-10T12:19:31.224Z","updated_at":"2025-04-08T01:45:23.196Z","avatar_url":"https://github.com/iamBijoyKar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/iamBijoyKar/floating_hippo/assets/85790967/ba8de7a3-e766-404a-9a24-ff413036a411\" width=\"300\" alt=\"logo\" /\u003e\n    \u003ch1\u003e Floating Hippo \u003c/h1\u003e\n    \u003cp\u003e Floating Hippo is a simple, abstracted, and easy to use library for 2D simulations using Pymunk and Pygames. This is designed to make it easier to create simulations without worrying about the complexity of Pymunk and Pygames. Is is a good starting point for beginners who want to learn about physics simulations. \n    \u003c/p\u003e\n\u003c/div\u003e\n\n\u003e **Note:** This library is still in development and is not ready for use. We are looking for contributors to help us finish this project 🙂\n\n## Features 🚀\n- **Simple:** Floating Hippo is designed to be simple and easy to use.\n- **Abstracted:** Floating Hippo abstracts the complexity of Pymunk and Pygames to make it easier to create simulations.\n- **Customizable:** Floating Hippo allows you to customize the simulation as per your needs.\n- **Event Handling:** Floating Hippo provides an event handling system to handle events like mouse clicks, key presses, etc.\n- **Built-in Shapes:** Floating Hippo provides built-in shapes like circle, segment, and polygon to create the simulation.\n\n\n## Installation 🪄\n```bash\npip install floating-hippo\n```\n\n## Usage 📖\n\nSimple example of a simulation dropping balls on a |_| shaped platform on mouse click using Floating Hippo.\n\n### Code 👇\n\n```python\nfrom floating_hippo import Simulation\n\n# Create a simulation\nsimulation = Simulation(800,600,caption=\"Test\",gravity=(0,1000))\n\n# Create a segment shape like |_|\nsimulation.create_segment((100,100),(100,500))\nsimulation.create_segment((100,500),(600,500))\nsimulation.create_segment((600,500),(600,100))\n\n@simulation.events.add_event(\"mousebuttondown\")\ndef on_click(event,*args,**kwargs):\n    simulation.create_ball(event.pos)\n\n```\n![falling_balls_floating_hippo - Made with Clipchamp](https://github.com/iamBijoyKar/floating_hippo/assets/85790967/17dcbfbb-4874-4124-8be4-cf22722edea3)\n\n## License 📜\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing 🤝\n\nContributions, issues and feature requests are welcome! Feel free to check [issues page](https://github.com/iamBijoyKar/floating_hippo/issues).\n\n\n## Show your support ⭐️\n\nGive a ⭐️ if this project helped you!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambijoykar%2Ffloating_hippo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiambijoykar%2Ffloating_hippo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiambijoykar%2Ffloating_hippo/lists"}