MCPcopy Create free account

hub / github.com/anomalyco/oc-plugin-rainbow / functions

Functions81 in github.com/anomalyco/oc-plugin-rainbow

↓ 27 callersFunctionrgba
(r: number, g: number, b: number, a = 255)
bench/post-process.ts:55
↓ 10 callersFunctionclamp
(value: number, min: number, max: number)
tui.tsx:42
↓ 9 callersFunctioncolorChanged
(values: number[], offset: number, ink: RainbowColor)
rainbow-post-process.ts:64
↓ 9 callersFunctionstoreColor
(values: number[], offset: number, ink: RainbowColor)
rainbow-post-process.ts:73
↓ 8 callersFunctionmix
(a: RainbowColor, b: RainbowColor, t: number)
bench/post-process.ts:69
↓ 8 callersFunctionvalue
()
bench/post-process.ts:478
↓ 7 callersFunctioncolorInt
(value: number)
rainbow-post-process.ts:54
↓ 6 callersFunctionnum
(value: unknown, fallback: number)
tui.tsx:48
↓ 6 callersFunctionsync
(cfg = value())
tui.tsx:174
↓ 5 callersFunctioncreateScenario
(input: { name: string; width: number; height: number; cfg: RainbowConfig; themeMode: ThemeMode; s
bench/post-process.ts:272
↓ 5 callersFunctionpickColor
(list: RainbowColor[], rand: () => number)
bench/post-process.ts:89
↓ 4 callersFunctionaddBgMark
(marks: number[], seen: Set<number>, ink: RainbowColor)
rainbow-post-process.ts:113
↓ 4 callersFunctionaddPalette
( palette: number[], seen: Set<number>, r: number, g: number, b: number, a: number, )
rainbow-post-process.ts:82
↓ 4 callersFunctionaddPaletteMix
( palette: number[], seen: Set<number>, a: RainbowColor, b: RainbowColor, t: number, )
rainbow-post-process.ts:96
↓ 4 callersFunctionalt
(ink: RainbowColor, delta: number)
bench/post-process.ts:62
↓ 4 callersFunctionbool
(value: unknown, fallback: boolean)
tui.tsx:53
↓ 4 callersFunctioncollectUnique
( themes: readonly RainbowTheme[], pickList: (theme: RainbowTheme) => RainbowColor[], )
bench/post-process.ts:255
↓ 4 callersFunctioncreateBuffer
(scenario: Scenario)
bench/post-process.ts:401
↓ 4 callersFunctionformatUs
(value: number)
bench/post-process.ts:574
↓ 4 callersFunctionmixChannel
(a: number, b: number, t: number)
rainbow-post-process.ts:80
↓ 4 callersFunctionpaintBlend
( buf: Float32Array, slot: number, palette: number[], paletteCount: number, phase: number, amt: nu
rainbow-post-process.ts:214
↓ 4 callersFunctionresetBuffer
(scenario: Scenario, buffer: RainbowBuffer)
bench/post-process.ts:411
↓ 3 callersFunctionanim
(cfg: Cfg)
tui.tsx:105
↓ 3 callersFunctioncreateThemeDriver
(scenario: Scenario)
bench/post-process.ts:417
↓ 3 callersFunctionhit
(list: RainbowColor[], r: number, g: number, b: number)
bench/post-process.ts:113
↓ 3 callersFunctionpaint
( buf: Float32Array, slot: number, list: RainbowColor[], step: number, amt: number, )
bench/post-process.ts:117
↓ 3 callersFunctionsplashLive
()
tui.tsx:153
↓ 2 callersFunctionclearRainbowTimer
()
tui.tsx:155
↓ 2 callersFunctioncreateRainbowPostProcess
(theme: () => RainbowTheme, value: () => RainbowConfig)
rainbow-post-process.ts:428
↓ 2 callersFunctionfield
(value: unknown)
settings-dialog.tsx:108
↓ 2 callersFunctionforceGc
()
bench/post-process.ts:433
↓ 2 callersFunctionformatPct
(value: number)
bench/post-process.ts:575
↓ 2 callersFunctionformatX
(value: number)
bench/post-process.ts:576
↓ 2 callersFunctionmeasureOne
( factory: ImplFactory, scenario: Scenario, buffer: RainbowBuffer, sample: number, )
bench/post-process.ts:472
↓ 2 callersFunctionnow
()
bench/post-process.ts:443
↓ 2 callersFunctionpaintFull
( buf: Float32Array, slot: number, palette: number[], paletteCount: number, phase: number, )
rainbow-post-process.ts:187
↓ 2 callersFunctionrenderLine
(line: string, fg: RGBA, background: RGBA, bold: boolean)
logo-screen.tsx:33
↓ 2 callersFunctionsave
(key: K, next: Cfg[K])
tui.tsx:264
↓ 2 callersFunctionsetColor
(buf: Float32Array, slot: number, ink: RainbowColor)
bench/post-process.ts:92
↓ 2 callersFunctionsummarize
(values: number[])
bench/post-process.ts:461
↓ 2 callersFunctionuniq
(list: RainbowColor[])
bench/post-process.ts:103
↓ 1 callersFunctionapplyBgOnly
( buffer: RainbowBuffer, palette: number[], paletteCount: number, bgStep: number, bgRow: number, b
rainbow-post-process.ts:364
↓ 1 callersFunctionapplyBoth
( buffer: RainbowBuffer, palette: number[], paletteCount: number, fgStep: number, fgRow: number, f
rainbow-post-process.ts:245
↓ 1 callersFunctionapplyFgOnly
( buffer: RainbowBuffer, palette: number[], paletteCount: number, fgStep: number, fgRow: number, f
rainbow-post-process.ts:328
↓ 1 callersFunctioncfg
(opts: Record<string, unknown> | undefined)
tui.tsx:115
↓ 1 callersFunctioncolorKey
(r: number, g: number, b: number, a: number)
rainbow-post-process.ts:56
↓ 1 callersFunctioncreateBaselinePostProcess
(theme, value)
bench/post-process.ts:156
↓ 1 callersFunctioncreateRng
(seed: number)
bench/post-process.ts:211
↓ 1 callersFunctioncreateSettingKey
(id: string)
settings-dialog.tsx:98
↓ 1 callersFunctionload
(api: Api, value: Cfg)
tui.tsx:125
↓ 1 callersFunctionmeasurePair
(scenario: Scenario)
bench/post-process.ts:503
↓ 1 callersFunctionmetric
(value: SettingsState, key: NumberField)
settings-dialog.tsx:123
↓ 1 callersFunctionobj
(value: unknown)
tui.tsx:58
↓ 1 callersFunctionpick
(theme: RainbowTheme)
bench/post-process.ts:141
↓ 1 callersFunctionquantile
(sorted: number[], t: number)
bench/post-process.ts:452
↓ 1 callersFunctionrainbowFrameMs
(cfg: Cfg)
tui.tsx:109
↓ 1 callersFunctionrgbKey
(r: number, g: number, b: number)
rainbow-post-process.ts:60
↓ 1 callersFunctionrgbKey
(ink: RainbowColor)
bench/post-process.ts:85
↓ 1 callersFunctionsame
(ink: RainbowColor, r: number, g: number, b: number)
bench/post-process.ts:99
↓ 1 callersFunctionscheduleRainbow
(cfg = value())
tui.tsx:162
↓ 1 callersFunctionsetWhiteMatrix
(strength: number)
tui.tsx:85
↓ 1 callersFunctionshow
()
tui.tsx:285
↓ 1 callersFunctionsplashFadeIn
(t: number)
tui.tsx:63
↓ 1 callersFunctionsplashFadeOut
(t: number)
tui.tsx:76
↓ 1 callersFunctionstartSplash
()
tui.tsx:191
↓ 1 callersFunctionstatus
(value: boolean)
settings-dialog.tsx:119
↓ 1 callersFunctionsyncThemeCache
(cache: ThemeCache, theme: RainbowTheme)
rainbow-post-process.ts:120
↓ 1 callersFunctiontint
(a: RGBA, b: RGBA, amt: number)
logo-screen.tsx:24
↓ 1 callersFunctiontoIntsKey
(ink: RainbowColor)
bench/post-process.ts:76
↓ 1 callersFunctiontouchBuffer
(buffer: RainbowBuffer)
bench/post-process.ts:447
↓ 1 callersFunctionverifyScenario
(scenario: Scenario)
bench/post-process.ts:532
FunctionLogoScreen
(props: { theme: () => TuiThemeCurrent; onExit: () => void })
logo-screen.tsx:90
FunctionSettingsDialog
(props: { api: Api; value: () => SettingsState; flip: (key: ToggleField) => void; tune: (key: NumberFi
settings-dialog.tsx:127
FunctionfadeToLogo
(buffer: OptimizedBuffer, delta: number)
tui.tsx:212
Functionflip
(key: ToggleField)
tui.tsx:273
FunctionleaveSplash
()
tui.tsx:203
FunctiononSelect
()
tui.tsx:301
Functionrender
()
tui.tsx:258
FunctionsetFrame
(frame: number)
bench/post-process.ts:421
Functiontui
(api, options)
tui.tsx:135
Functiontune
(key: NumberField, dir: -1 | 1)
tui.tsx:277