{"id":20521375,"url":"https://github.com/charliegerard/beat-pose","last_synced_at":"2025-04-08T04:18:13.887Z","repository":{"id":78179556,"uuid":"204805597","full_name":"charliegerard/beat-pose","owner":"charliegerard","description":"Play a Beat Saber clone with hand movements using Tensorflow.js \u0026 PoseNet","archived":false,"fork":false,"pushed_at":"2024-02-21T04:00:31.000Z","size":13148,"stargazers_count":205,"open_issues_count":3,"forks_count":26,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-02T21:38:22.459Z","etag":null,"topics":["aframe","creative-coding","javascript","posenet","tensorflowjs"],"latest_commit_sha":null,"homepage":"https://beat-pose.netlify.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/charliegerard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"charliegerard","ko_fi":"devdevcharlie","custom":["https://buymeacoffee.com/devdevcharlie"]}},"created_at":"2019-08-27T23:09:20.000Z","updated_at":"2024-09-24T07:47:22.000Z","dependencies_parsed_at":"2024-11-15T22:40:24.372Z","dependency_job_id":null,"html_url":"https://github.com/charliegerard/beat-pose","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/charliegerard%2Fbeat-pose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charliegerard%2Fbeat-pose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charliegerard%2Fbeat-pose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charliegerard%2Fbeat-pose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charliegerard","download_url":"https://codeload.github.com/charliegerard/beat-pose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773721,"owners_count":20993639,"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","creative-coding","javascript","posenet","tensorflowjs"],"created_at":"2024-11-15T22:28:33.543Z","updated_at":"2025-04-08T04:18:13.867Z","avatar_url":"https://github.com/charliegerard.png","language":"JavaScript","funding_links":["https://github.com/sponsors/charliegerard","https://ko-fi.com/devdevcharlie","https://buymeacoffee.com/devdevcharlie","https://ko-fi.com/D1D2122V8"],"categories":[],"sub_categories":[],"readme":"# BeatPose\n\nPlay a Beat Saber clone with hand movements using Tensorflow.js \u0026 the MoveNet model, in the browser! 🎉\n\n_Based on the awesome work by [Supermedium](http://supermedium.com/) on the [beat saver viewer](https://github.com/supermedium/beatsaver-viewer)._\n\nLive demo: [https://beat-pose.netlify.com/](https://beat-pose.netlify.com/)\n\n[Blog post](https://dev.to/devdevcharlie/playing-beat-saber-in-the-browser-with-body-movements-using-posenet-tensorflow-js-36km)\n\n## Demo\n\n![Play BeatSaber with hand movements](demo.gif)\n\n## How to use\n\n- Visit the [live demo](https://beat-pose.netlify.com/)\n- Allow access to the webcam\n- Place yourself about 1-2m away from your computer in a place that has enough light.\n- Move your hands to see if the recognition works\n- Start playing and hit beats!\n\n## Rules\n\nNone! It's not a real game, more of an experiment 🙂.\n\nThe only \"restriction\" is that **the left hand can only destroy the red beats and the right hand, the blue beats**.\n\n## Tech stack\n\n- [A-Frame](https://aframe.io/)\n- [Tensorflow.js](https://www.tensorflow.org/js)\n- [PoseNet model](https://github.com/tensorflow/tfjs-models/tree/master/pose-detection/src/movenet)\n- [Three.js](https://threejs.org/)\n\n## Development\n\n:warning: **The game was originally built with Node.js v8.9.1 which is pretty old. The install fails on more recent versions.**\n\nTo run locally, clone this repository and run:\n\n```\nnpm install\nnpm run start\n```\n\nAs an alternative, you can run the `index.html` file located at the root with a python server like `python -m HTTPServer 5000` for example.\n\nThen open `localhost` (on port `9999` if you ran it with npm) in your browser and the default song should be `Bohemian Rhapsody - Queen`, but you can search for other songs in the bottom search bar.\n\n## Support\n\nThese kinds of side projects take me a lot of time so, if you like them, your support would be really appreciated if you want to/can 🙂.\n\n[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/D1D2122V8)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharliegerard%2Fbeat-pose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharliegerard%2Fbeat-pose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharliegerard%2Fbeat-pose/lists"}