fov-utilities
v1.1.7
Published
Set of helper functions to calculate different FoVs based off the FILM notation standard of FoV scaling and aspect ratio.
Downloads
31
Maintainers
Readme
fov-utilities
About
Set of helper functions to calculate different FoVs based off the FILM notation standard of FoV scaling and aspect ratio. It was developed for the use in FPSMath discord bot.
Installation
Node
Install with npm / yarn / pnpm:
npm install fov-utilities
yarn add fov-utilities
pnpm add fov-utilities
Deno
We also provide typings compatible with the deno runtime. You have 3 ways you can import them:
- Directly from GitHub
import { convertFOV } from 'https://raw.githubusercontent.com/animafps/fov-utilities/main/deno/mod.ts';
- From deno.land/x
import { convertFOV } from 'https://deno.land/x/fov/mod.ts';
- From skypack.dev
import { convertFOV } from 'https://cdn.skypack.dev/fov-utilities?dts';
API Docs
Api docs are hosted at https://fov.js.org