Vector in the plane

Vector in the plane preview
remixableManimCE2Dvectorloop

manim/plane_vector.py

"""Vector in the plane: an arrow from the origin, its tip orbiting a small circle.

Render (the driver does this for every palette; these are for eyeballing):
    P=/opt/homebrew/opt/python@3.11/bin/python3.11
    ASSET_MODE=still  $P -m manim -s -t -r 1600,1600 manim/plane_vector.py PlaneVector
    ASSET_MODE=motion $P -m manim -qh   -r 1600,1600 manim/plane_vector.py PlaneVectorLoop
"""

import numpy as np
from manim import (
    DOWN,
    LEFT,
    RIGHT,
    TAU,
    UP,
    Arrow,

The full Manim source and the rendered video come with a plan.