{"id":28749688,"url":"https://github.com/psigen/node-bulletphysics","last_synced_at":"2025-06-16T20:44:08.784Z","repository":{"id":151961308,"uuid":"14653361","full_name":"psigen/node-bulletphysics","owner":"psigen","description":"Node.js bindings to Bullet Physics through node-ffi","archived":false,"fork":false,"pushed_at":"2013-11-24T17:20:12.000Z","size":15720,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-08T04:47:46.233Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psigen.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}},"created_at":"2013-11-24T00:50:40.000Z","updated_at":"2023-04-08T04:59:16.658Z","dependencies_parsed_at":"2023-04-08T04:59:16.564Z","dependency_job_id":null,"html_url":"https://github.com/psigen/node-bulletphysics","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/psigen/node-bulletphysics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fnode-bulletphysics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fnode-bulletphysics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fnode-bulletphysics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fnode-bulletphysics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psigen","download_url":"https://codeload.github.com/psigen/node-bulletphysics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psigen%2Fnode-bulletphysics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260236346,"owners_count":22979404,"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":[],"created_at":"2025-06-16T20:44:08.044Z","updated_at":"2025-06-16T20:44:08.774Z","avatar_url":"https://github.com/psigen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"node-bullet\n===========\n\nNode.js bindings to Bullet Physics through [node-ffi].\n\nThese bindings are automatically generated via [node-ffi-generate] from the Bullet C API header file (`Bullet-C-Api.h`).  They have a 1:1 mapping with the existing Bullet C API documentation.\n\n  * [Documentation for the Bullet C API]\n\nInstalling this library via NPM\n-------------------------------\nCurrently, this library is not published to `npm`.  However, you can use it in npm projects by adding it to your `package.json` using a git url:\n\n```javascript\n\"dependencies\": { \n  \"bulletphysics\": \"git://github.com/psigen/node-bulletphysics.git\"\n}\n```\n\nExample Usage\n-------------\n```javascript\nvar bullet = require('bulletphysics').bullet;\nvar sdk = bullet.plNewBulletSdk();\n...\nconsole.log('Doing Bullet stuff...');\n...\nbullet.plDeletePhysicsSdk(sdk);\n```\n\nCompilation notes\n-----------------\n  * By default, `BT_DOUBLE_PRECISION` is enabled, because I need it.  It can be disabled by editing the `defines` in (binding.gyp)[binding.gyp].\n  * During node-gyp, the tarball in [src](src) is extracted to `src/bullet`.  If you want to mess with the bullet source before compiling, just put your own source code in that directory.\n  * Some functions from the C API were removed, as they had no actual implementation in the source code.  They are commented out in [bulletphysics.js](lib/bulletphysics.js)\n  * GPU accelerated functions were not compiled, since they add a dependency on OpenCL that I didn't want to handle.\n\n\u003c!-- Link references --\u003e\n[node-ffi]: https://github.com/rbranson/node-ffi\n[node-ffi-generate]: https://github.com/tjfontaine/node-ffi-generate\n[Documentation for the Bullet C API]: http://bulletphysics.org/Bullet/BulletFull/Bullet-C-Api_8h.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Fnode-bulletphysics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsigen%2Fnode-bulletphysics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsigen%2Fnode-bulletphysics/lists"}