Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Shorts, Mixed Media: sans lettering on type cards, fewer repeated motifs, History says each reason once

Claude195a38197562
diff --git a/src/components/mixed-media/history.tsx b/src/components/mixed-media/history.tsx
index efc5fe54..23bfe04e 100644
--- a/src/components/mixed-media/history.tsx
+++ b/src/components/mixed-media/history.tsx
@@ -72,6 +72,8 @@ export function MixedHistory({ onStart }: { onStart: () => void }) {
const out = g.status === "succeeded" ? g.outputs.find((o) => o.kind === "video") : undefined;
const state = chainState(renderSteps(chain));
const retrying = actions.retry.isPending && actions.retry.variables?.id === g.id;
+ const heading = g.status === "canceled" ? "Canceled" : state.status === "failed" ? state.label : "Couldn't render this one";
+ const reason = state.error ?? g.error;
return (
<div key={g.id} className="min-w-0">
<div className="relative aspect-square overflow-hidden rounded-xl bg-muted">
@@ -83,8 +85,8 @@ export function MixedHistory({ onStart }: { onStart: () => void }) {
<PendingTile g={state.status === "working" ? (chain.find((x) => x.status !== "succeeded") ?? g) : g} ratio={1} />
) : (
<div className="flex size-full flex-col justify-center gap-1 border border-dashed p-3">
- <p className="text-[13px] font-medium">{g.status === "canceled" ? "Canceled" : state.status === "failed" ? state.label : "Couldn't render this one"}</p>
- {(state.error ?? g.error) && <p className="line-clamp-4 text-[12px] break-words text-muted-foreground">{state.error ?? g.error}</p>}
+ <p className="text-[13px] font-medium">{heading}</p>
+ {reason && reason !== heading && <p className="line-clamp-4 text-[12px] break-words text-muted-foreground">{reason}</p>}
<button
type="button"
onClick={() => retry(g.id)}
diff --git a/src/components/shorts/look-motif.tsx b/src/components/shorts/look-motif.tsx
index 06fe7ea0..5fab0d91 100644
--- a/src/components/shorts/look-motif.tsx
+++ b/src/components/shorts/look-motif.tsx
@@ -63,7 +63,7 @@ const MOTIFS: Record<string, Motif> = {
"mixed-layer-mixed-media": { kind: "collage" },
"mixed-sketch": { kind: "pencil" },
"mixed-canvas": { kind: "watercolor" },
- "mixed-flash-comic": { kind: "burst", text: "FLASH" },
+ "mixed-flash-comic": { kind: "burst", text: "WHAM" },
"mixed-overexposed": { kind: "grade", filter: "brightness(1.45) contrast(1.25) saturate(0.8)" },
"mixed-paper": { kind: "paper" },
"mixed-noir": { kind: "noir" },
@@ -72,9 +72,9 @@ const MOTIFS: Record<string, Motif> = {
"mixed-tracking": { kind: "tracking" },
"mixed-windows": { kind: "desktop" },
"mixed-acid": { kind: "grade", filter: "hue-rotate(110deg) saturate(2.2) contrast(1.2)" },
- "mixed-palette": { kind: "collage" },
+ "mixed-palette": { kind: "watercolor" },
"mixed-comic": { kind: "comic", text: "POW!" },
- "mixed-multiverse": { kind: "fragments" },
+ "mixed-multiverse": { kind: "grade", filter: "hue-rotate(140deg) saturate(1.6) contrast(1.1)" },
"mixed-fragments": { kind: "fragments" },
"mixed-vintage": { kind: "paper" },
"mixed-magazine": { kind: "magazine" },
@@ -83,14 +83,14 @@ const MOTIFS: Record<string, Motif> = {
"mixed-marble": { kind: "marble" },
"mixed-toxic": { kind: "grade", filter: "hue-rotate(80deg) saturate(2.4) contrast(1.3)" },
"mixed-ultraviolet": { kind: "grade", filter: "hue-rotate(250deg) saturate(1.8) contrast(1.2) brightness(0.9)" },
- "mixed-akrill": { kind: "collage" },
+ "mixed-akrill": { kind: "pop" },
"mixed-two-color": { kind: "grade", filter: "grayscale(1) contrast(2.2)" },
"mixed-origami": { kind: "origami" },
"mixed-random-glow": { kind: "particles" },
- "mixed-cannabis": { kind: "magazine" },
+ "mixed-cannabis": { kind: "grade", filter: "hue-rotate(85deg) saturate(1.7) contrast(1.1) blur(0.6px)" },
"mixed-bubbles": { kind: "bubbles" },
"mixed-cold-vision": { kind: "grade", filter: "hue-rotate(190deg) saturate(1.3) contrast(1.25) brightness(0.92)" },
- "mixed-modern": { kind: "origami" },
+ "mixed-modern": { kind: "grade", filter: "saturate(0.35) contrast(1.15) brightness(1.1)" },
"mixed-lava": { kind: "grade", filter: "sepia(0.6) hue-rotate(-30deg) saturate(2.2) contrast(1.2)" },
"mixed-ocean": { kind: "grade", filter: "sepia(0.3) hue-rotate(160deg) saturate(1.6)" },
};
@@ -123,7 +123,7 @@ const grain = (u: string) => (
);
function TypeMotif({ style, text, hue, u }: { style: Extract<Motif, { kind: "type" }>["style"]; text: string; hue: number; u: string }) {
- const font = { fontFamily: "var(--font-heading, system-ui), system-ui, sans-serif", fontWeight: 900 } as const;
+ const font = { fontFamily: "var(--font-sans, system-ui), system-ui, sans-serif", fontWeight: 900 } as const;
if (style === "sticker")
return (
<Svg>
@@ -189,7 +189,7 @@ function TypeMotif({ style, text, hue, u }: { style: Extract<Motif, { kind: "typ
return (
<Svg>
{words.map((w, i) => (
- <text key={w} x="40" y={30 + i * 16} textAnchor="middle" fontSize="17" textLength="66" lengthAdjust="spacingAndGlyphs" fill={i === 1 ? ink(hue, 0.85, 0.2) : "#fff"} opacity="0.95" style={{ ...font, letterSpacing: -0.5 }}>
+ <text key={w} x="40" y={30 + i * 17} textAnchor="middle" fontSize="15" textLength="64" lengthAdjust="spacingAndGlyphs" fill={i === 1 ? ink(hue, 0.85, 0.2) : "#fff"} opacity="0.95" style={{ ...font, letterSpacing: -0.5 }}>
{w}
</text>
))}