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.

411 B
Raw Blame
// DR6's ride as asked: the computer on the chair's seat, clear of its back, turning with it.
import { Composition, registerRoot, useCurrentFrame } from "raea";
import { Ride } from "./set";

function Piece() {
  return <Ride yaw={0.3 + useCurrentFrame() * 0.02} at={[0, 0.2, 0.05]} />;
}

registerRoot(() => <Composition id="ride" component={Piece} width={540} height={960} fps={30} durationInFrames={30} />);