{"id":50663980,"url":"https://github.com/palmshed/momentum","last_synced_at":"2026-06-08T04:33:43.692Z","repository":{"id":313944230,"uuid":"1052993540","full_name":"palmshed/momentum","owner":"palmshed","description":"motion optimization library.","archived":false,"fork":false,"pushed_at":"2025-09-17T22:23:27.000Z","size":168451,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T09:26:14.128Z","etag":null,"topics":["cpp","kinematics","motion"],"latest_commit_sha":null,"homepage":"https://github.com/bniladridas/momentum/pull/1","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"facebookresearch/momentum","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palmshed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-08T20:50:58.000Z","updated_at":"2026-05-31T08:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/palmshed/momentum","commit_stats":null,"previous_names":["bniladridas/momentum","palmshed/momentum"],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/palmshed/momentum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmshed%2Fmomentum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmshed%2Fmomentum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmshed%2Fmomentum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmshed%2Fmomentum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palmshed","download_url":"https://codeload.github.com/palmshed/momentum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palmshed%2Fmomentum/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34048681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["cpp","kinematics","motion"],"created_at":"2026-06-08T04:33:43.615Z","updated_at":"2026-06-08T04:33:43.682Z","avatar_url":"https://github.com/palmshed.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Momentum\n\n[![CI Windows][ci-windows-badge]][ci-windows]\n[![CI macOS][ci-macos-badge]][ci-macos]\n[![CI Ubuntu][ci-ubuntu-badge]][ci-ubuntu]\n[![Publish Website][website-badge]][website]\n\n[ci-windows-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml/badge.svg\n[ci-windows]: https://github.com/facebookresearch/momentum/actions/workflows/ci_windows.yml\n[ci-macos-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml/badge.svg\n[ci-macos]: https://github.com/facebookresearch/momentum/actions/workflows/ci_macos.yml\n[ci-ubuntu-badge]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml/badge.svg\n[ci-ubuntu]: https://github.com/facebookresearch/momentum/actions/workflows/ci_ubuntu.yml\n[website-badge]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml/badge.svg\n[website]: https://github.com/facebookresearch/momentum/actions/workflows/publish_website.yml\n\nMomentum provides foundational algorithms for human kinematic motion and\nnumerical optimization solvers to apply human motion in various applications.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"momentum/website/static/img/momentum_1.png\" width=\"30%\" alt=\"Forward and Inverse Kinematics with Interpretable Parameterization\" /\u003e\n  \u003cimg src=\"momentum/website/static/img/momentum_3.png\" width=\"30%\" alt=\"RGBD Body Tracking Solver\" /\u003e\n  \u003cimg src=\"momentum/website/static/img/momentum_4.png\" width=\"30%\" alt=\"Monocular RGB Body Tracking Solver\" /\u003e\n\u003c/p\u003e\n\n## Getting Started\n\nThis page guides you through the process of building Momentum and running the examples.\n\n### Installing Momentum and PyMomentum\n\nMomentum binary builds are available for Windows, macOS, and Linux via [Pixi](https://prefix.dev/) or the Conda package manager.\n\nFor Windows, please install [Visual Studio 2022](https://visualstudio.microsoft.com/vs/) or greater.\n\n#### [Pixi](https://prefix.dev/channels/conda-forge/packages/momentum)\n\n```\n# C++ only\npixi add momentum-cpp\n\n# Python only (auto-detects GPU/CPU)\npixi add pymomentum\n\n# Python with specific backend\npixi add pymomentum-gpu  # or pymomentum-cpu\n\n# Both C++ and Python\npixi add momentum\n```\n\n#### [Conda](https://anaconda.org/conda-forge/momentum)\n\n```\n# Replace 'pixi add' with 'conda install -c conda-forge'\nconda install -c conda-forge momentum-cpp\nconda install -c conda-forge pymomentum\nconda install -c conda-forge pymomentum-gpu  # or pymomentum-cpu\nconda install -c conda-forge momentum\n```\n\n### Building Momentum from Source\n\n#### Prerequisite\n\nComplete the following steps only once:\n\n1. Install Pixi by following the instructions on https://prefix.dev/\n\n1. Clone the repository and navigate to the root directory:\n\n   ```\n   git clone https://github.com/facebookresearch/momentum\n   cd momentum\n   ```\n\n   Ensure that all subsequent commands are executed in the project's root directory unless specified otherwise.\n\n#### Build and Test\n\n- Build the project with the following command (note that the first run may take a few minutes as it installs all dependencies):\n\n  ```\n  pixi run build\n  ```\n\n- Run the tests with:\n\n  ```\n  pixi run test\n  ```\n\nTo view all available command lines, run `pixi task list`.\n\n#### Hello World Example\n\nTo run the `hello_world` example:\n\n```\npixi run hello_world\n```\n\nAlternatively, you can directly run the executable:\n\n```\n# Linux and macOS\n./build/hello_world\n\n# Windows\n./build/Release/hello_world.exe\n```\n\n#### Running Other Examples\n\nTo run other examples:\n\n```\npixi run glb_viewer --help\n```\n\nFor more examples, please refer to the [Examples](https://facebookresearch.github.io/momentum/docs/examples/viewers) page.\n\n#### Clean Up\n\nIf you need to start over for any reason:\n\n```\npixi run clean\n```\n\nMomentum uses the `build/` directory for CMake builds, and `.pixi/` for the Pixi virtual environment. You can clean up everything by either manually removing these directories or by running the command above.\n\n#### FBX Support\n\nMomentum uses OpenFBX to load Autodesk's FBX file format, which is enabled by default. To save files in FBX format, you must install the FBX SDK 2020.3.\n\n##### Linux\n\nThe FBX SDK will be automatically installed when you run `pixi run config`, so no additional steps are required.\n\n##### macOS and Windows\n\nYou can download it from Autodesk's [website](https://aps.autodesk.com/developer/overview/fbx-sdk) or use direct links ([macOS](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_clang_mac.pkg.tgz), [Windows](https://damassets.autodesk.net/content/dam/autodesk/www/files/fbx202037_fbxsdk_vs2019_win.exe)). After installing the SDK, build Momentum from source with `MOMENTUM_BUILD_WITH_FBXSDK=ON` option as:\n\n```\n# macOS\nMOMENTUM_BUILD_WITH_FBXSDK=ON pixi run \u003ctarget\u003e\n\n# Windows (Powershell)\n$env:MOMENTUM_BUILD_WITH_FBXSDK = \"ON\"; pixi run \u003ctarget\u003e\n\n# Windows (cmd)\nset MOMENTUM_BUILD_WITH_FBXSDK=ON \u0026\u0026 pixi run \u003ctarget\u003e\n```\n\nFor example, file conversion can be run as follows:\n\n```\n# Windows (Powershell)\n$env:MOMENTUM_BUILD_WITH_FBXSDK = \"ON\"; pixi run convert_model -d \u003cinput.glb\u003e -o \u003cout.fbx\u003e\n```\n\n## 📖 Documentation\n\nThe full documentation for Momentum can be found on our [website](https://facebookresearch.github.io/momentum/) and the C++ API documentation is available [here](https://facebookresearch.github.io/momentum/doxygen/index.html).\n\n## Contributing\n\nCheck our [contributing guide](CONTRIBUTING.md) to learn about how to contribute\nto the project.\n\n## License\n\nMomentum is licensed under the MIT License. A copy of the license\n[can be found here.](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalmshed%2Fmomentum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalmshed%2Fmomentum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalmshed%2Fmomentum/lists"}