30 agents

Potential Fields

What you are looking at

Agents
The robots moving under the combined forces.
Goal
The point attracting the agents.
Circular obstacles
Objects that repel nearby agents.

Try this

  1. Lower attraction toward zero to weaken the pull drawing agents toward the goal.
  2. Raise repulsion to make the obstacles push nearby agents away more strongly.

Key idea

A potential field guides motion with a force calculated at the robot’s current location.

Copy link