project method

Offset project(
  1. double time,
  2. Matrix4 perspective
)

🌐 Project(time, perspective)

Takes the 3D point and Projects it to 2D space for Time and Perspective Screen Space translation is handled on the other side

Psuedo: Make Vector3(x,y,zForTime) Apply Projection to Vector Convert to Offset (discard Z)

Implementation

Offset project(double time, vector.Matrix4 perspective) =>
    (vector.Vector3(x, y, zForTime(time))..applyProjection(perspective))
        .toOffset();