magnification function
The magnification at the lens's centre at `height` over the page.
import { magnification } from '@dioramajs/text/lens'function magnification(
aperture: number,
thickness: number,
height: number,
ior: number,
distance: number,
): numberParameters
| Name | Type | Description |
|---|---|---|
aperture | number | |
thickness | number | |
height | number | |
ior | number | |
distance | number |
Defined in packages/text/src/lens.ts.