Skip to content

About

A collection of complex physics simulation samples build with Newton, the GPU-accelerated physics simulation engine.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Newton Samples

License CPU tests and quality GPU tests GPU tests with Newton main

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.

Requirements

  • 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 PATH to 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.

Quickstart

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.12

Choose a sample below for launch instructions, configuration, and validation.

Examples

Multiphysics

Franka robot grasping a cable end beside a block-and-tackle pulley mechanism and guided load
Franka Pulley Mechanical Advantage

Contributing

This project is currently not accepting contributions. See CONTRIBUTING.md.

License

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.

About

A collection of complex physics simulation samples build with Newton, the GPU-accelerated physics simulation engine.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Contributors

Languages