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 and tested configurations, see the installation guide.
Quickstart
pip install "newton[examples]"
python -m newton.examples basic_pendulum
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 installed from source with uv, substitute uv run for python in the commands below.
Example Options
The examples support the following command-line arguments:
| Argument | Description | Default |
|---|---|---|
--viewer |
Viewer type: gl (OpenGL window), usd (USD file output), rerun (ReRun), or null (no viewer). |
gl |
--device |
Compute device to use, e.g., cpu, cuda:0, etc. |
None (default Warp device) |
--num-frames |
Number of frames to simulate (for USD output). | 100 |
--output-path |
Output path for USD files (required if --viewer usd is used). |
None |
Some examples may add additional arguments (see their respective source files for details).
Example Usage
# List available examples
python -m newton.examples
# 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.1.0rc1-py3-none-any.whl.
File metadata
- Download URL: newton-1.1.0rc1-py3-none-any.whl
- Upload date:
- Size: 5.2 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 |
8312dd4e4034fdd52d11eacfcd1ef13a77a1752a710a83ce6db10331ce6dead8
|
|
| MD5 |
1e58a89cf7c1616e47f7654a8a4ef4bf
|
|
| BLAKE2b-256 |
64617bd94228ec356eb5ebca9230142bc27d7a32b28c8a6f7206bed79e14a5ea
|
Provenance
The following attestation bundles were made for newton-1.1.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.1.0rc1-py3-none-any.whl -
Subject digest:
8312dd4e4034fdd52d11eacfcd1ef13a77a1752a710a83ce6db10331ce6dead8 - Sigstore transparency entry: 1247916692
- Sigstore integration time:
-
Permalink:
newton-physics/newton@7368b362a8997a7a78088022876bdf63b8c7ed62 -
Branch / Tag:
refs/tags/v1.1.0rc1 - Owner: https://github.com/newton-physics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7368b362a8997a7a78088022876bdf63b8c7ed62 -
Trigger Event:
push
-
Statement type: