A GPU-accelerated physics engine for robotics simulation
Project description
This project is in active beta development. This means the API is unstable, features may be added or removed, and breaking changes are likely to occur frequently and without notice as the design is refined.
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. It is permissively licensed under the Apache-2.0 license.
Newton was initiated by Disney Research, Google DeepMind, and NVIDIA.
Quickstart
During the alpha development phase, we recommend using the uv Python package and project manager. You may find uv installation instructions in the Newton Installation Guide.
Once uv is installed, running Newton examples is straightforward:
# Clone the repository
git clone git@github.com:newton-physics/newton.git
cd newton
# set up the uv environment for running Newton examples
uv sync --extra examples
# run an example
uv run -m newton.examples basic_pendulum
See the installation guide for detailed instructions that include steps for setting up a Python environment for use with Newton.
Examples
Before running the examples below, set up the uv environment with:
uv sync --extra examples
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
uv run -m newton.examples
# Run with the USD viewer and save to my_output.usd
uv run -m newton.examples basic_viewer --viewer usd --output-path my_output.usd
# Run on a selected device
uv run -m newton.examples basic_urdf --device cuda:0
# Combine options
uv run -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.0.0rc2-py3-none-any.whl.
File metadata
- Download URL: newton-1.0.0rc2-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
cc3668c3f64eccf4ff5f729122a1a7dbbdd1e5b03e64592104f6e39a38063c29
|
|
| MD5 |
88c2660ffff93f23e6313ebca513e3e6
|
|
| BLAKE2b-256 |
a4849f0a4e066784cce7cf1e3261250cf8cc80aed5039cde1dd3c2c47164f083
|
Provenance
The following attestation bundles were made for newton-1.0.0rc2-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.0.0rc2-py3-none-any.whl -
Subject digest:
cc3668c3f64eccf4ff5f729122a1a7dbbdd1e5b03e64592104f6e39a38063c29 - Sigstore transparency entry: 1006564102
- Sigstore integration time:
-
Permalink:
newton-physics/newton@2a6df66595c05d655876a972df06ef810816a7bc -
Branch / Tag:
refs/tags/v1.0.0rc2 - Owner: https://github.com/newton-physics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2a6df66595c05d655876a972df06ef810816a7bc -
Trigger Event:
push
-
Statement type: