Newton Samples is a collection of complex physics simulation samples from the NVIDIA Developer Technology team built with Newton, the GPU-accelerated physics simulation engine built on NVIDIA Warp. The samples demonstrate how to combine Newton's solvers, robotics tools, and multiphysics coupling in complete simulation scenes.
This repository builds on the examples in the Newton repository. For the engine's API and user guides, see the Newton documentation.
- Python 3.11 or newer; Python 3.12 is recommended for the locked environment.
- uv for environment setup.
- An NVIDIA GPU with a compatible driver is recommended for CUDA acceleration.
- A working graphics display for the interactive OpenGL viewer.
- Internet access and Git on
PATHto download robot assets on first use.
The project depends on newton[examples]>=1.7.0. The included lockfile pins the
tested versions of Newton, Warp, MuJoCo, MuJoCo Warp, and the viewer dependencies.
See Newton's installation guide
for detailed platform, GPU, and driver requirements.
Clone the repository and install the locked dependencies:
git clone https://github.com/NVIDIA/newton-samples.git
cd newton-samples
uv sync --locked --python 3.12Choose a sample below for launch instructions, configuration, and validation.
|
||
| Franka Pulley Mechanical Advantage | ||
This project is currently not accepting contributions. See CONTRIBUTING.md.
The sample code is licensed under Apache 2.0. Dependencies and downloaded assets retain their respective licenses. The example runner includes code adapted from Newton with its upstream copyright headers preserved. Third-party notices document the included code, dependencies, and downloaded assets.