Skip to main content

Shapes

import { Shapes } from "https://vimtaai.github.io/agent/lib/index.js"
Shapes.Arrow;
// -- OR --
import { Arrow } from "https://vimtaai.github.io/agent/lib/shapes.js";
Arrow;

Shapes

Arrow

An arrow shape pointing towards the heading of an Agent. This is the default shape for new Agents.

Circle

A simple circle shape. It does not indicate the heading of the Agent.

Square

A simple square shape. It does not indicate the heading of the Agent.

Turtle

A styleized turtle that faces the heading of the Agent. Its head and legs are always green, while its shell is the color of the Agent.