gesture-react-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Gesture

React SDK

Installation: npm i gesture-react-sdk

export default function Home() {
  const { pose, ready } = useGestureWS()
  return (
    <div className={styles.container}>
      <main className={styles.main}>
        <h1>Gesture - SDK Demo</h1>
        <p>Ready: {ready}</p>
        {ready && <><div>
          <h3>Left</h3>
          <p>x: {pose.left.x}, y: {pose.left.y}, z: {pose.left.z}, shape: {pose.left.shape}</p>
        </div>
        <div>
          <h3>Right</h3>
          <p>x: {pose.right.x}, y: {pose.right.y}, z: {pose.right.z}, shape: {pose.right.shape}</p>
        </div></>}
      </main>
    </div>
  )
}

/gesture-react-sdk/

    Package Sidebar

    Install

    npm i gesture-react-sdk

    Weekly Downloads

    0

    Version

    0.1.5

    License

    none

    Unpacked Size

    5.21 kB

    Total Files

    6

    Last publish

    Collaborators

    • jackyzha0