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.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
// A wheel event's deltas, in the DOM's sign (positive deltaY: toward the end).
// proves: react-dom.event.onWheel, api.Element.wheel_event
import { trace } from "parity";
export const steps = [{ wheel: "pad", dy: 100 }, { wheel: "pad", dy: -40 }];
export default function Case() {
return (
<div data-testid="root" className="h-full w-full bg-white p-4 text-slate-900">
<div data-testid="pad" className="h-24 w-48 bg-lime-200" onWheel={(e) => trace("wheel", "pad", { dx: e.deltaX, dy: e.deltaY })} />
</div>
);
}