Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+27
View File
@@ -0,0 +1,27 @@
import { Color } from 'three'
export class Lut {
constructor(colormap?: string, numberofcolors?: number)
lut: Color[]
map: object[]
n: number
minV: number
maxV: number
set(value: Lut): this
setMin(min: number): this
setMax(max: number): this
setColorMap(colormap?: string, numberofcolors?: number): this
copy(lut: Lut): this
getColor(alpha: number): Color
addColorMap(colormapName: string, arrayOfColors: number[][]): void
createCanvas(): HTMLCanvasElement
updateCanvas(canvas: HTMLCanvasElement): HTMLCanvasElement
}
export interface ColorMapKeywords {
rainbow: number[][]
cooltowarm: number[][]
blackbody: number[][]
grayscale: number[][]
}