A compact binary UI / canvas format for streaming interactive scenes — drawing, layout, expressions, animations, particles, paths, shaders, bitmaps — to remote players.
A RemoteCompose document is a single binary file (typically a few KB) that any compatible player can load and render identically. Players exist on macOS, iOS, Android, Compose Multiplatform Desktop, the browser, Node, and embedded devices. Every demo on this page is the same `.rc` binary playing in your browser through the TypeScript port of the runtime.
All ten render in this page right now, with no external requests. Each is the result of loading one `.rc` file (a few KB) into the in-browser player.
Rectangles, rounded rectangles, circles, arcs, paths, gradients and anchored text — the core canvas vocabulary in one document.
1.3 KB · canvas_primitives.rcA chart built from sectors, anchored labels, and a centred title. All values are computed at paint time from the document's data, not baked at authoring.
3.8 KB · pie_chart.rcStunning effects via shaders, particles, anchored text and other advanced operators — the runtime transpiles AGSL to whatever the backend speaks (Skia / WebGL / native).
2.7 KB · canvas_advanced.rcHour, minute, and second hands driven by the document's expression engine reading system time variables. No JavaScript on the page side — the document itself is doing the math every frame.
2.0 KB · fancy_clock2.rcLive least-squares fit through a draggable scatter — the slope, intercept and residual error are all expression-evaluator outputs recomputed every frame as the points move.
3.3 KB · linear_regression.rcHundreds of particles emitted from a source, each updated by an RPN expression every frame: position += velocity, velocity += gravity. Document fits in 4.5 KB.
4.4 KB · balls_animation_example.rcCoupled-ODE dynamics of a chaotic double pendulum, computed by the engine's expression evaluator. The trail is a path that appends a vertex per frame.
2.4 KB · double_pendulum_example.rcEight vertices, six faces, projected onto the canvas via matrix-expression operations the engine exposes natively. Back-face culling is a 2D cross-product check.
2.7 KB · cube3d.rcA visual tour of the RPN evaluator: an expression is rendered as a tree, with each node showing its current numeric value as the input variables animate. Self-documenting.
2.7 KB · rpn_eval.rcSix gears with verified 60 : 1 + 12 : 1 reduction trains, real interlocking tooth counts, balance wheel + pallet fork + escape wheel + hour / minute / second hands. All geometry is computed; all motion is the document's own expressions.
23.1 KB · watch_movement.rcOne binary format, many runtimes. All produce identical output on the same document.
rc → PNG and rc → JSON tools.