{"id":20955161,"url":"https://github.com/bryik/aframe-ball-throw","last_synced_at":"2026-03-16T21:35:18.000Z","repository":{"id":10229435,"uuid":"65042321","full_name":"bryik/aframe-ball-throw","owner":"bryik","description":"A basic A-Frame demo with physics and Vive controller support.","archived":false,"fork":false,"pushed_at":"2023-04-17T09:43:10.000Z","size":1224,"stargazers_count":27,"open_issues_count":3,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T23:32:50.360Z","etag":null,"topics":["aframe","physics","vive"],"latest_commit_sha":null,"homepage":"https://bryik.github.io/aframe-ball-throw/index.html","language":"HTML","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/bryik.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":"2016-08-05T18:59:56.000Z","updated_at":"2024-10-03T14:59:49.000Z","dependencies_parsed_at":"2025-01-19T23:32:30.920Z","dependency_job_id":"5fc8cbfa-64bf-4d97-963b-6486946b74a3","html_url":"https://github.com/bryik/aframe-ball-throw","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/bryik%2Faframe-ball-throw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Faframe-ball-throw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Faframe-ball-throw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryik%2Faframe-ball-throw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryik","download_url":"https://codeload.github.com/bryik/aframe-ball-throw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243351862,"owners_count":20276911,"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":["aframe","physics","vive"],"created_at":"2024-11-19T01:18:25.028Z","updated_at":"2025-12-28T21:13:31.108Z","avatar_url":"https://github.com/bryik.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A-Frame Ball Throw\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"http://i.imgur.com/NSCUTtb.gif\"/\u003e\n\u003c/p\u003e\n\nPlayable with **HTC Vive**.\n\nThis repository contains a small demonstration of A-Frame with vive controllers and physics powered by [A-Frame Extras](https://github.com/donmccurdy/aframe-extras) and [A-Frame Physics System](https://github.com/donmccurdy/aframe-physics-system). Grab a ball and chuck it at the stack of boxes!\n\n### Expansion and Experimentation\n\nTry forking this component and messing around with it. For instance, \n\nChange the force of gravity from 1.6 m/s^2 (similar to the Moon), to 9.8 m/s^2 (similar to the Earth).\n\n```html\n    \u003ca-scene physics='gravity: -9.8' antialias='true'\u003e\n```\n\n### Running locally\n\n```bash\nnpm start\n```\n\nOpen the URL `https://192.168.1.11:3000/` in Firefox and bypass the scary \"certificate invalid\" warning. WebVR seems to require `https` and achieving this on localhost involves generating a certificate (one that the browser won't automatically trust).\n\n### Troubleshooting\n\n#### The height is off\n\nAs of July 2020, I think Firefox computes height offset based on the headset's position at the time \"Enter VR\" is pressed. So if you enter VR with the headset on the floor, you'll be either too tall or too short. It seems to work better if you press \"Enter VR\" while wearing the headset.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Faframe-ball-throw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryik%2Faframe-ball-throw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryik%2Faframe-ball-throw/lists"}