DOM ENGINEV0.10.0FIZLET

19 BRICKS · V0.10.0

Kernel and
bricks.

One small kernel and a box of bricks, each its own import with its own size budget. Each page is generated from the source: the API from the type declarations, the size measured on this build.

  • KERNEL3.3 KB / 4.0 KB gzip

    fizlet

    Fizlet: tiny physics for your page.

  • INPUT1.3 KB / 1.5 KB gzip

    fizlet/input

    One controller for keys, pointer and a touch stick, mapped to named intents.

  • PAD1.9 KB / 2.0 KB gzip

    fizlet/pad

    Swappable on-screen controls for touch (and mouse).

  • COLLIDE1.3 KB / 1.5 KB gzip

    fizlet/collide

    A fixed-capacity spatial hash (no allocation per insert or query) and the shape tests games need: circle–circle, circle–rect, swept segment–circle.

  • GRID1.5 KB / 1.5 KB gzip

    fizlet/grid

    The game board.

  • FX2.7 KB / 3.0 KB gzip

    fizlet/fx

    Explosions that land.

  • CAMERA1.4 KB / 1.5 KB gzip

    fizlet/camera

    The page is the camera.

  • SPRITE1.4 KB / 1.5 KB gzip

    fizlet/sprite

    The character layer's drawing primitive.

  • SOUND1.0 KB / 1.5 KB gzip

    fizlet/sound

    The sound adapter.

  • EMBED2.0 KB / 2.5 KB gzip

    fizlet/embed

    Drop a game onto any page with one small config.

  • SLOT1.7 KB / 2.0 KB gzip

    fizlet/slot

    Mount a Fizlet scene into an astro-base-engine slot, <figure class="ae-slot" data-slot-target="<page>#<slot>" role="img" aria-label="…">.

  • HUD1.3 KB / 1.5 KB gzip

    fizlet/hud

    Change-only HUD bindings that never allocate in the steady state.

  • MATCH2.5 KB / 2.8 KB gzip

    fizlet/match

    The match flow every game shares, intro → count → play → paused → end, on the Board UI kit's overlay (grey dim, a sticker that slams, at most two sticker keys).

  • BOARD PAGE3.7 KB / 4.0 KB gzip

    fizlet/board-page

    The host page as the board.

  • PRESENCE1.8 KB / 2.0 KB gzip

    fizlet/presence

    Lockstep input exchange for multiplayer, behind a tiny transport adapter.

  • BOARD UI2.7 KB / 3.0 KB gzip

    fizlet/ui

    The tiny behaviour half of board-ui.css.

  • PERF1.9 KB / 2.0 KB gzip

    fizlet/perf

    A live performance overlay for players, off until they switch it on.

  • RULES1.2 KB / 1.5 KB gzip

    fizlet/rules

    The rules every arcade game repeats, as three small systems on the kernel: - waves: a wave clock, prepare → assault → rebuild, with a spawn budget per wave; - drops: pickups that fall, wait to be collected and expire; - score: points, a combo that decays, and levels from XP thresholds.

  • DEBUG0.5 KB / 1.5 KB gzip

    fizlet/debug

    Development-only checks.