Skip to content

anim-format (runtime format) / fieldOfView

Function: fieldOfView() ​

ts
function fieldOfView(focal, width): number;

the field of view whose focal length across width is focal

Parameters ​

ParameterType
focalnumber
widthnumber

Returns ​

number

HereSplash — 2D animation for the web