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.

546 B
Raw Blame
// window and document first, before the case's libraries evaluate (they check `typeof document` as they load)
import "@raea/ui/dom-globals";
import "parity";
import { mount } from "@raea/ui/react";
import Case from "CASE";
declare const PARITY_FACE: string;
// React DOM's semantics: refs are DOM-like elements, events capture and bubble (docs/ts-native.feature P18); the page's
// "Parity Mono" face registered as Chrome's page has it (build.ts)
mount(
  <>
    <Case />
    <style>{PARITY_FACE}</style>
  </>,
  undefined,
  { dom: true },
);