migrate guesser

This commit is contained in:
tresabhi committed 2026-11-12 15:14:01 -06:00
1 parent c9f922ef24
commit c72ee930bf
33 files changed
+802 -635

No files matched your search

@@ -8,7 +8,11 @@ const SIZE = 2 ** 4;
export const screenshotReadyEvent = new Quicklime(false);
export function SceneProps() {
interface SceneProps {
color?: string;
}
export function SceneProps({ color = mauveDark.mauve6 }: SceneProps) {
const mesh = useRef<Mesh>(null!);
useEffect(() => {
@@ -79,7 +83,7 @@ export function SceneProps() {
>
<planeGeometry args={[SIZE, SIZE]} />
<meshStandardMaterial
color={mauveDark.mauve6}
color={color}
roughness={1}
onBeforeCompile={handleBeforeCompile}
/>