{"id":25352083,"url":"https://github.com/atsixian/gravity-beans","last_synced_at":"2025-07-08T19:36:01.701Z","repository":{"id":184823613,"uuid":"671539849","full_name":"atsixian/gravity-beans","owner":"atsixian","description":"Interact with gravity on the web. Tilt to pour coffee beans. Volume controlled by gravity.","archived":false,"fork":false,"pushed_at":"2023-08-05T08:17:00.000Z","size":5267,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-05T09:27:48.826Z","etag":null,"topics":["framer-motion","gravity","sound","tailwindcss","vite"],"latest_commit_sha":null,"homepage":"https://gravity-beans.sixian.li","language":"TypeScript","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/atsixian.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}},"created_at":"2023-07-27T14:50:03.000Z","updated_at":"2023-08-03T15:18:22.000Z","dependencies_parsed_at":"2023-07-30T13:48:12.186Z","dependency_job_id":null,"html_url":"https://github.com/atsixian/gravity-beans","commit_stats":null,"previous_names":["atsixian/gravity-beans"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsixian%2Fgravity-beans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsixian%2Fgravity-beans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsixian%2Fgravity-beans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atsixian%2Fgravity-beans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atsixian","download_url":"https://codeload.github.com/atsixian/gravity-beans/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238889694,"owners_count":19547664,"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":["framer-motion","gravity","sound","tailwindcss","vite"],"created_at":"2025-02-14T18:26:35.992Z","updated_at":"2025-02-14T18:26:41.092Z","avatar_url":"https://github.com/atsixian.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![gravity-beans](./public/og.png)\n\n# Gravity Beans\n\nTilt to pour coffee beans. Volume controlled by gravity.\n\n## Why\n\nInspired by [Physics Engine Volume Slider](https://www.reddit.com/r/ProgrammerHumor/comments/6fcbrb/physics_engine_volume_slider/). I thought integrating **real** gravity into it would be cool, so here you go.\n\n## How it works\n\n- Motion data: [ `devicemotion` ](https://developer.mozilla.org/en-US/docs/Web/API/Window/devicemotion_event)\n- Sound: [Howler.js](https://howlerjs.com/)\n- Gesture: [Framer Motion](https://www.framer.com/motion/)\n\nCheck out the [hooks](./src/hooks).\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsixian%2Fgravity-beans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatsixian%2Fgravity-beans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsixian%2Fgravity-beans/lists"}