Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_chart/deps.ts>Camera

A graph library for deno. Inspired by Chart.js. A simpler implementation for basic bar graphs that save to an image.
Latest
interface Camera
import { type Camera } from "https://deno.land/x/deno_chart@1.1.0/deps.ts";

Properties

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