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 deliberately wrong case: a press on the box traces a different value on the side under test, so behaviour must
// fail while layout and pixels pass.
// expect: fail=behaviour pass=layout,pixels
// tier: quick
import { side, trace } from "parity";
export const steps = [{ down: "box" }, { up: "box" }];
export default function Case() {
return (
<div data-testid="root" className="h-full w-full bg-white">
<div data-testid="box" onPointerDown={() => trace("pointerdown", "box", side === "chrome" ? 1 : 2)} style={{ width: 120, height: 60, backgroundColor: "rgb(225, 29, 72)" }} />
</div>
);
}