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 right click: contextmenu (prevented, so no menu), and no click.
// proves: react-dom.event.onContextMenu, api.Element.contextmenu_event
import { trace } from "parity";
export const steps = [{ click: "card", button: "right" }];
export default function Case() {
return (
<div data-testid="root" className="h-full w-full bg-white p-4 text-slate-900">
<div data-testid="card" className="h-24 w-48 bg-amber-200" onClick={() => trace("click", "card")} onContextMenu={(e) => { e.preventDefault(); trace("contextmenu", "card", e.button); }} />
</div>
);
}