This release is a pre-release and may not be stable for production use.
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
Metadata
Release files for newton 0.1.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| newton-0.1.1a2-py3-none-any.whl | Python 3 | none | any | Details for newton-0.1.1a2-py3-none-any.whl |
Release files / newton-0.1.1a2-py3-none-any.whl
| Download URL | newton-0.1.1a2-py3-none-any.whl |
|---|---|
| Size | 1.3 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
502f4db378d5898cb1bcbdcf0e29a656b013d91041c05b9dadbd066fd9297299
|
|
BLAKE2b-256 checksum How to use checksums |
2cf0ec1f0fd41b7db039f934daee3aad7861c7b2da8252e4d48340694506477e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.13
|
Security for newton 0.1.1a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.