A GPU-accelerated physics engine for robotics simulation
Project description
Newton
Newton is a GPU-accelerated physics simulation engine built upon NVIDIA Warp, specifically targeting roboticists and simulation researchers.
Newton extends and generalizes Warp's (deprecated) warp.sim module, and integrates
MuJoCo Warp as its primary backend. Newton emphasizes GPU-based computation, OpenUSD support, differentiability, and user-defined extensibility, facilitating rapid iteration and scalable robotics simulation.
Newton is a Linux Foundation project that is community-built and maintained. Code is licensed under Apache-2.0. Documentation is licensed under CC-BY-4.0. Additional and third-party license texts are available in newton/licenses.
Newton was initiated by Disney Research, Google DeepMind, and NVIDIA.
Requirements
- Python 3.10+
- OS: Linux (x86-64, aarch64), Windows (x86-64), or macOS (CPU only)
- GPU: NVIDIA GPU (Maxwell or newer), driver 545 or newer (CUDA 12). No local CUDA Toolkit installation required. macOS runs on CPU.
For detailed system requirements, see the installation guide. For tested configurations and Newton's versioning and deprecation policies, see the compatibility guide.
Quickstart
pip install "newton[examples]"
python -m newton.examples
To install from source with uv, see the installation guide.
Examples
Before running the examples below, install Newton with the examples extra:
pip install "newton[examples]"
If you run the examples from a source checkout with uv, use
uv run --extra examples -m newton.examples <example_name> instead of the
python -m newton.examples <example_name> commands below.
Example Options
All examples share a common set of command-line options. The most commonly used ones are:
| Argument | Description | Default |
|---|---|---|
--viewer |
Viewer to use: gl, usd, rtx, rerun, viser, or null. |
gl |
--device |
Compute device to use, e.g., cpu, cuda:0. |
None (default Warp device) |
--num-frames |
Total number of frames to simulate. | 100 |
--output-path |
Path to the output USD file (used by the usd viewer). |
output.usd |
For the complete, always-current list of options — plus any arguments a specific example adds — run:
python -m newton.examples <example_name> --help
Example Usage
# List available examples
python -m newton.examples --list
# Run with the USD viewer and save to my_output.usd
python -m newton.examples basic_viewer --viewer usd --output-path my_output.usd
# Run on a selected device
python -m newton.examples basic_urdf --device cuda:0
# Combine options
python -m newton.examples basic_viewer --viewer gl --num-frames 500 --device cpu
Contributing and Development
See the contribution guidelines and the development guide for instructions on how to contribute to Newton.
Support and Community Discussion
For questions, please consult the Newton documentation first before creating a discussion in the main repository.
Code of Conduct
By participating in this community, you agree to abide by the Linux Foundation Code of Conduct.
Project Governance, Legal, and Members
Please see the newton-governance repository for more information about project governance.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file newton-1.3.0rc1-py3-none-any.whl.
File metadata
- Download URL: newton-1.3.0rc1-py3-none-any.whl
- Upload date:
- Size: 4.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a89e1a26f415b08479d71bdd60e02d7e74d832129376731921bdc9dac32ac0e
|
|
| MD5 |
5a1da5264fb61f78337f2e1bd8cdf8e0
|
|
| BLAKE2b-256 |
a4c7da934b2fcb9b9816ea07fd367006a652d662ed88579c04c034e7e76cc767
|
Provenance
The following attestation bundles were made for newton-1.3.0rc1-py3-none-any.whl:
Publisher:
release.yml on newton-physics/newton
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
newton-1.3.0rc1-py3-none-any.whl -
Subject digest:
7a89e1a26f415b08479d71bdd60e02d7e74d832129376731921bdc9dac32ac0e - Sigstore transparency entry: 1731133366
- Sigstore integration time:
-
Permalink:
newton-physics/newton@3389003b151cb22739174c4abaa06203063c1ce5 -
Branch / Tag:
refs/tags/v1.3.0rc1 - Owner: https://github.com/newton-physics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3389003b151cb22739174c4abaa06203063c1ce5 -
Trigger Event:
push
-
Statement type: