import { STIPE_GOOEY_FILTER } from "@fungi.computer/stipe";
import { forwardRef } from "react";
/** @internal The eight-unit bead's material, positioned with an SVG transform. */
export const GooeySurfaceDefinition = forwardRef<
SVGRadialGradientElement,
{ id: string; transform: string }
>(function GooeySurfaceDefinition({ id, transform }, ref) {
return (
);
});
/** @internal Cast one themed shadow from the finished silhouette. */
export function GooeyShadowDefinition({ id }: { id: string }) {
return (
);
}
/** @internal Opposing inner shadows shared by recessed control wells. */
export function GooeyInsetDefinition({ id }: { id: string }) {
return (
);
}
/** @internal Props shared by Caps' private gooey filter definitions. */
export type GooeyFilterDefinitionProps = {
values?: GooeyFilterValues;
id: string;
};
/** @internal Numeric values for one SVG gooey filter profile. */
export type GooeyFilterValues = Readonly<{
alphaIntercept: number;
alphaSlope: number;
blurStdDeviation: number;
}>;
/** @internal Filter calibrated for Status's eight-unit bead. */
export const STATUS_GOOEY_FILTER = Object.freeze({
alphaIntercept: -8,
alphaSlope: 18,
blurStdDeviation: 2,
});
/** @internal The single SVG filter definition shared by Caps' gooey family. */
export function GooeyFilterDefinition({
id,
values = STIPE_GOOEY_FILTER,
}: GooeyFilterDefinitionProps) {
return (
);
}