Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

572 B
Raw Blame
import { useDebugStore } from '../../store/debug'

export function OriginHelper() {
  const showOrigin = useDebugStore((s) => s.showOrigin)
  if (!showOrigin) return null

  return (
    <group>
      {/* flat plane at Y=0 */}
      <mesh rotation={[-Math.PI / 2, 0, 0]}>
        <planeGeometry args={[10, 10]} />
        <meshBasicMaterial color={0x00ff88} wireframe />
      </mesh>
      {/* wire sphere at origin */}
      <mesh>
        <sphereGeometry args={[0.5, 16, 12]} />
        <meshBasicMaterial color={0xff4400} wireframe />
      </mesh>
    </group>
  )
}