PPolySim OS

RRT Path Planning

How does a robot find its way through a cluttered room? A Rapidly-exploring Random Tree branches outward, quickly filling free space and snaking around obstacles to the goal.

RRT Path PlanningLive

Controls

Presets

A Rapidly-exploring Random Tree grows toward random points in free space, quickly filling the map and snaking around obstacles to connect start (blue) to goal (yellow). It is a cornerstone of motion planning for robot arms, self-driving cars, and drones — fast even in high dimensions where grid search fails.

▶ Run in Python

Data Inspector

Tree nodes0
Path foundno
Path length0

Governing equation

Reading this result: No path yet at step 18 — the tree ran out of iterations before reaching the goal. Try Replan or a smaller step.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

RRT grows a tree from the start by repeatedly sampling a random point, extending toward it by a fixed step, and rejecting moves that hit an obstacle. It rapidly explores open space and biases occasionally toward the goal. Fast and effective even in high dimensions, it powers motion planning for robot arms, self-driving cars, and drones.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Robotics simulations

Frequently asked questions

Is this RRT path planning tool really free?
Yes. RRT Path Planning runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.