MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / BalatroProps

Interface BalatroProps

components/balatro.tsx:6–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { useEffect, useRef } from "react";
5
6interface BalatroProps {
7 spinRotation?: number;
8 spinSpeed?: number;
9 offset?: [number, number];
10 color1?: string;
11 color2?: string;
12 color3?: string;
13 contrast?: number;
14 lighting?: number;
15 spinAmount?: number;
16 pixelFilter?: number;
17 spinEase?: number;
18 isRotate?: boolean;
19 mouseInteraction?: boolean;
20 opacity?: number;
21}
22
23function hexToVec4(hex: string): [number, number, number, number] {
24 const hexStr = hex.replace("#", "");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected