Skip to main content


Canvas API for Deno, ported from canvaskit-wasm (Skia).
Go to Latest
interface Camera
import { type Camera } from "";


eye: Vector3

a 3d point locating the camera.

coa: Vector3

center of attention - the 3d point the camera is looking at.

A unit vector pointing the cameras up direction. Note that using only eye and coa would leave the roll of the camera unspecified.

near: number

near clipping plane distance

far: number

far clipping plane distance

field of view in radians