Basis vectors i and j

Basis vectors i and j preview
remixableManimCE2Dlinear algebraloop

manim/basis_vectors.py

"""Basis vectors: i-hat and j-hat dragged off their axes, the grid following.

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/basis_vectors.py BasisVectors
    ASSET_MODE=motion $P -m manim -qh   -r 1600,1600 manim/basis_vectors.py BasisVectorsLoop
"""

import numpy as np
from manim import (
    DOWN,
    LEFT,
    UP,
    Arrow,
    NumberPlane,
    Polygon,

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