Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

448 B
Raw Blame
// The badge: the conformance composition's React component, used twice (two uses, two keys).
export function Badge({ x, y, color }: { x: number; y: number; color: string }) {
  return (
    <div style={{ position: "absolute", left: x, top: y, width: 90, height: 90, borderRadius: 18, background: color }}>
      <span style={{ position: "absolute", left: 12, top: 30, color: "#fff", fontSize: 22, fontWeight: 700 }}>badge</span>
    </div>
  );
}