A GPU-accelerated physics engine for robotics simulation
Project description
Newton
⚠️ Prerelease Software ⚠️
This project is in active alpha 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 is a GPU-accelerated physics simulation engine built upon NVIDIA Warp,
specifically targeting roboticists and simulation researchers.
It extends and generalizes Warp's existing warp.sim module, integrating
MuJoCo Warp as a primary backend.
Newton emphasizes GPU-based computation, differentiability, and user-defined extensibility, facilitating rapid iteration
and scalable robotics simulation.
Newton is maintained by Disney Research, Google DeepMind, and NVIDIA.
Development
See the development guide for instructions on how to get started.
Examples
Basic Examples
|
|
|
|
python -m newton.examples basic_pendulum
|
python -m newton.examples basic_urdf
|
python -m newton.examples basic_viewer
|
|
|
|
|
python -m newton.examples basic_shapes
|
python -m newton.examples basic_joints
|
Cloth Examples
|
|
|
|
python -m newton.examples cloth_bending
|
python -m newton.examples cloth_hanging
|
python -m newton.examples cloth_style3d
|
MPM Examples
|
|
||
python -m newton.examples mpm_granular
|
Example Options
The examples support the following common 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
# Basic usage
python -m newton.examples basic_pendulum
# With uv
uv run python -m newton.examples basic_pendulum
# With viewer options
python -m newton.examples basic_viewer --viewer usd --output-path my_output.usd
# With device selection
python -m newton.examples basic_urdf --device cuda:0
# Multiple arguments
python -m newton.examples basic_viewer --viewer gl --num-frames 500 --device cpu
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-0.1.1a2-py3-none-any.whl.
File metadata
- Download URL: newton-0.1.1a2-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
502f4db378d5898cb1bcbdcf0e29a656b013d91041c05b9dadbd066fd9297299
|
|
| MD5 |
d04b1792f80a580a9b6d84c461d36c92
|
|
| BLAKE2b-256 |
2cf0ec1f0fd41b7db039f934daee3aad7861c7b2da8252e4d48340694506477e
|