Interface: HeatMapOptions
Defined in: src/mobjects/graphing/HeatMap.ts:12
Options for creating a HeatMap.
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/graphing/HeatMap.ts:30
Center position [x, y, z]. Default: [0, 0, 0]
domain?
optionaldomain: [number,number]
Defined in: src/mobjects/graphing/HeatMap.ts:22
Value domain [min, max] mapped across the palette. Auto-computed if omitted.
func
func:
ScalarField2D
Defined in: src/mobjects/graphing/HeatMap.ts:14
The scalar field g(x, y) to visualize.
opacity?
optionalopacity:number
Defined in: src/mobjects/graphing/HeatMap.ts:28
Opacity from 0 to 1. Default: 1
palette?
optionalpalette: readonlystring[]
Defined in: src/mobjects/graphing/HeatMap.ts:24
Ordered hex color stops. Default: a viridis-like palette.
resolution?
optionalresolution:number| [number,number]
Defined in: src/mobjects/graphing/HeatMap.ts:20
Grid cells per axis, or [nx, ny]. Default: 64
useOklab?
optionaluseOklab:boolean
Defined in: src/mobjects/graphing/HeatMap.ts:26
Blend the palette in perceptually-uniform Oklab space. Default: false
xRange?
optionalxRange: [number,number]
Defined in: src/mobjects/graphing/HeatMap.ts:16
X range [min, max]. Default: [-5, 5]
yRange?
optionalyRange: [number,number]
Defined in: src/mobjects/graphing/HeatMap.ts:18
Y range [min, max]. Default: [-5, 5]