Skip to main content
Featured image for Getting Started with NVIDIA Newton - WIP
  1. Posts/

Getting Started with NVIDIA Newton - WIP

·1 min·

🏗️ WORK IN PROGRESS 🏗️
#

In this post we’ll create a very simple environment to start simulating in Newton.

File Structure
#

As recommended by official documentation, we’ll be using uv to help structure this project. This is the file structure I used to get started:

project/
├── halit/
└── newton/

In the structure above, newton/ is the GitHub repo for newton and halit/ is the name of my working directory.

Within projects/halit/ we run the following:

uv init
uv add ../newton
uv add pyglet imgui_bundle

The file structure should look a little something like this now:

project/
├── halit/
│   ├── main.py
│   ├── README.md
│   ├── pyproject.toml
│   ├── uv.lock
│   ├── .gitignore
│   └── .python-version
└── newton/

Key Concepts
#

Broadly speaking there’s two main things we want to do. We want to first build our “world”, then second view this world and see how it evolves.

Viewing Your Simulations
#

In newton there are several different viewer objects. These are accessed via `