wasm-intro@1

WASM Intro

contract

A raw Core Wasm module exports memory m and f(frame, input, seed), returning an RGBA framebuffer offset.

media type
application/wasm
maximum
65,536 bytes
canvas
160 × 90 RGBA
rate
30 fps
duration
120 seconds
input
disabled

restrictions

  • No imports, WASI, start function, shared memory, threads, SIMD, or exceptions.
  • One memory only, capped at sixteen 64 KiB pages.
  • Frame is the nominal 30 Hz clock; every tick is invoked once in order, although intermediate frames may be omitted from presentation while catching up.
  • Every frame call is watchdog-limited to 100 ms.
  • Byte count is the exact raw primary payload. Host, manifest, source, transport, and preview bytes are excluded.