{"id":29196152,"url":"https://github.com/hyperbayislive/interactive-rolling-sphere","last_synced_at":"2025-08-28T08:05:11.063Z","repository":{"id":300232745,"uuid":"1005612623","full_name":"HyperBayIsLive/Interactive-rolling-sphere","owner":"HyperBayIsLive","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-21T18:14:48.000Z","size":487,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-02T06:02:41.949Z","etag":null,"topics":["3dgraphics","3dinteraction","canvasanimation","creativetech","frontend","gamedev","interactivedesign","javascriptproject","javascriptprojects","opensource","threejs","uiuxdesign","visualcomputing","webdev","webdevelopment","webgl"],"latest_commit_sha":null,"homepage":"","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/HyperBayIsLive.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,"zenodo":null}},"created_at":"2025-06-20T14:06:42.000Z","updated_at":"2025-06-21T18:14:51.000Z","dependencies_parsed_at":"2025-06-20T15:25:28.688Z","dependency_job_id":"2d6ff81d-f5dd-448f-984a-bd79153ea9f6","html_url":"https://github.com/HyperBayIsLive/Interactive-rolling-sphere","commit_stats":null,"previous_names":["hyperbayislive/interactive-rolling-sphere"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HyperBayIsLive/Interactive-rolling-sphere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperBayIsLive%2FInteractive-rolling-sphere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperBayIsLive%2FInteractive-rolling-sphere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperBayIsLive%2FInteractive-rolling-sphere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperBayIsLive%2FInteractive-rolling-sphere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HyperBayIsLive","download_url":"https://codeload.github.com/HyperBayIsLive/Interactive-rolling-sphere/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HyperBayIsLive%2FInteractive-rolling-sphere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272466786,"owners_count":24939463,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3dgraphics","3dinteraction","canvasanimation","creativetech","frontend","gamedev","interactivedesign","javascriptproject","javascriptprojects","opensource","threejs","uiuxdesign","visualcomputing","webdev","webdevelopment","webgl"],"created_at":"2025-07-02T06:00:56.622Z","updated_at":"2025-08-28T08:05:11.036Z","avatar_url":"https://github.com/HyperBayIsLive.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive Rolling Sphere\n\nAn interactive, physics-accurate 3D rolling sphere simulation in the browser, built with [Three.js](https://threejs.org/).  \nThe sphere rolls, spins, and reacts to your keyboard and mouse with real inertia and friction, all in an endless open world.\n\n---\n\n## 🎮 Features\n\n- **Realistic Rolling Physics:**  \n  Sphere motion (by keyboard or mouse) is always accompanied by physically accurate rolling animation—no sliding.\n- **Intuitive Controls:**  \n  - **Arrow keys:** Apply directional forces to roll the ball forward, backward, left, or right. Reverse direction to slow down and stop.\n  - **Mouse drag:** Hold and drag the ball to \"push\" it around with your virtual hand, as if rolling a real ball—feels natural and responsive.\n  - **Spin in place:** Hold both left + right or up + down arrows to spin the sphere about its axis.\n- **Endless Open World:**  \n  The ground is an infinite plane—no boundaries, just roll forever.\n- **Automatic Camera:**  \n  Camera follows the ball from behind and above, always keeping it in view.\n- **Minimal UI:**  \n  Clean, fullscreen experience with a single \"Fullscreen\" button.\n\n---\n\n## 🕹️ Controls\n\n| Action                          | How to do it                | Result                                                |\n|----------------------------------|-----------------------------|-------------------------------------------------------|\n| Roll forward/back/left/right     | Arrow keys                  | Ball rolls \u0026 animates in that direction               |\n| Slow down or stop                | Arrow key opposite motion   | Ball slows and stops with realistic inertia           |\n| Spin in place (horizontal/vert.) | Hold L+R/Up+Down arrows     | Ball spins in place                                   |\n| Roll with mouse                  | Drag ball with left mouse   | Ball follows cursor as if \"pushed\" by your hand       |\n| Fullscreen mode                  | Click \"Fullscreen\" button   | Immersive experience                                  |\n\n---\n\n## 🚀 Getting Started\n\n1. **Clone or Download:**\n    ```sh\n    git clone https://github.com/HyperBayIsLive/Interactive-rolling-sphere.git\n    cd Interactive-rolling-sphere\n    ```\n2. **Open `index.html` in your browser.**\n    - No build step needed.\n    - For best results, use Chrome, Firefox, or Edge.\n\n---\n\n## 📦 Dependencies\n\n- [Three.js](https://threejs.org/) (CDN, no installation required)\n\n---\n\n## 🛠️ How It Works\n\n- Uses real Newtonian physics for force, velocity, and rolling.\n- The sphere's rotation is always synchronized with its movement for perfect rolling.\n- Mouse drag calculates a physical force as if you’re pushing the sphere.\n- Friction and inertia are modeled for realistic slow-down and stopping.\n- Camera movement is smooth and dynamic.\n\n---\n\n## 📝 License\n\nMIT License  \nFeel free to fork, extend, and use as inspiration for your own web physics projects!\n\n---\n\n**Made by [HyperBayIsLive](https://github.com/HyperBayIsLive)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperbayislive%2Finteractive-rolling-sphere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperbayislive%2Finteractive-rolling-sphere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperbayislive%2Finteractive-rolling-sphere/lists"}