05 — RESOLUTION 04 · WORMHOLEKERNEL

BACK TO THE WORK

04 · ENGINE & FRAMEWORK · CINEMATIC WEB

WormHoleKernel

SPECIMEN BRIDGE · 45°

Bîrkar’s cinematic web experience.

WormHoleKernel is the engine and framework of Bîrkar Studio for cinematic web experiences. It is not one big program but a set of small tools called kits, and each kit takes on exactly one part of the job: keeping time, moving things, setting type, playing sound, drawing light, keeping accounts. Together they let one person make a web page that moves like a film and still runs on an ordinary phone.

WORMHOLE KERNEL wurm·hole ker·nel

n. · physics, computing

the one point everything passes through

In physics, a wormhole is a bridge joining two regions of space and time; the first, written down by Einstein and Rosen in 1935, joins two universes through a single throat, and John Wheeler gave it its name in 1957. In computing, a kernel is the small core everything else has to ask. The engine is named for both: two worlds, the paper and the void, and one throat between them — a single frame loop that all of the work passes through. Its mark is that bridge drawn as a Penrose diagram, with the kernel as the diamond where the two horizons cross.

01 / 01

One sheet, two worlds

The plate shows the mark on the studio’s own sheet, in its two inks, paper and void. The horizons run at 45° because light does. Left and right are the two universes; above and below are the interiors of a black hole and a white hole, each ending in three teeth. The small diamond at the crossing is the kernel.

SCREEN 01 FIG. 1 · PAPER 1440 × 900 · DAY
SCREEN 02 FIG. 1 · VOID 1440 × 900 · NIGHT

THE SYSTEM

Every kit knows nothing about the site it serves, so each could leave this repository and work in another. They share a few laws, and each takes on one concern.

01 One loop. A single clock owns time; work runs in five phases, always in the same order, so nothing reads what has not been written.

02 Draw only on change. A pass that cannot change the picture does not run, so a still page costs almost nothing.

03 Both graphics languages, first-class. Every effect ships in GLSL for WebGL2 and in WGSL for WebGPU from its first commit.

04 Measure from outside. Cost is read from the driver and the browser’s own accounting, never from a timer inside the page.

THE STACK

Language
TypeScript Strict types hold the boundaries between kits.
Interface
Svelte 5 Runes keep state small and the page prerenderable.
Light
WebGL2 · WebGPU One contract over both, chosen once at load.
Models
three.js Authored models, skinning and shadows, run through the Kernel’s frame.
Backend
Cloudflare Workers · D1 · R2 The edge, with SQL as data and an S3-shaped store.

HELD TO

  1. The engine serves the work, never the other way round.
  2. Standard techniques first; something bespoke only when a measured standard one fails.
  3. Measure, then talk.
  4. Cost is how often, not how much.

THE KITS

01 TIME

Clock Kit

The beat of the whole page. One clock drives everything, so nothing fights for the screen and a quiet page costs almost nothing to keep.

engine/kernel — one rAF, five ordered phases (input, simulate, read, write, render); quality governor; cadence; time-sliced work; workers.

02 MOVEMENT

Motion Kit

How things ease, settle and follow. Motion that feels the same on a phone and on a fast display.

engine/motion — easing sampled from design tokens, frame-rate-independent damping, holds, key tracks, batched custom-property writes.

03 SCROLLING

Scroll Kit

A page that still scrolls like a page, but whose scrolling can be followed, timed and prepared for.

engine/scroll — smoothed real scrolling, tracks, lanes, reactive progress, on-approach loading, wheel capture; engine/plane — a camera over a plane.

04 LETTERS

Type Kit

Text measured without being disturbed, and text turned into a picture that light can bend. Made for Latin and for scripts written right to left.

engine/typography — laid-out text measured without undoing transforms; printed type for shaders; kashida drawn; outlines lifted from fonts as data.

05 LANGUAGES

Locale Kit

Which way a language runs, what it is written in and how its numbers look. One value, the language being read, and the whole page follows it.

engine/locale — direction, script, orthography, dictionary, digits, directional isolates; mirrored layouts, not translated ones.

06 READING

Reading Kit

Long text as a reader meets it: its few marks, how long it takes to read, and where in it the reader is.

engine/reading — inline markup parsed to a tree, reading time in each language’s own words, an outline measured once and followed by arithmetic.

07 WRITING

Editor Kit

Writing on the very page that will be read, with every change saved as it is made.

engine/editor — the page’s elements made editable, blocks ordered between each other, grouped history, autosave, sanitized paste.

08 SOUND

Sound Kit

One sound system, awake only while something is heard, and a score composed for the page rather than a playlist.

engine/audio — one AudioContext held only while heard; receiver, rumble, space; a score as phases with measured seams.

09 TOUCH

Input Kit

Keys, thumbs and pointers all say the same few things: go there, run, jump. The cursor learns what it is over.

engine/input — devices merged into one intent; engine/interaction — composable capabilities: magnetic, lean, hover progress, cursor forms.

10 PLAY

Play Kit

What makes a page playable: states, cues, a camera that helps you find the way, and characters that walk, fall and stand on things.

engine/game, actors/ — game states and cues, third-person camera, clips, locomotion, gravity, surfaces.

11 LIGHT

Glass Kit

The drawing core. It speaks to every graphics chip through one contract, and every effect it makes is written for both of the web’s graphics languages.

gpu/ — contexts, programs, targets, GPU timer; hal/ — one contract over WebGL2 and WebGPU; every effect in GLSL and WGSL with measured parity.

12 STAGING

Stage Kit

What it means to put an artwork on a page: its frame, its colors, and the page falling into it.

stage/ — artwork contract, framing, color in linear light, measuring field and windows, infall, glass.

13 MODELS

Model Kit

Characters and objects modeled elsewhere, brought onto the page and lit like they belong there.

models/ — three.js host, frame pipeline, materials, skinning, morphs, shadows; models published content-addressed with gzip twins.

14 DOTS

Raster Kit

How a picture becomes the studio’s printed dots: square cells, ordered, exact.

engine/raster — ordered dither, square module grids, exact box sampling.

15 DRAWING

Figure Kit

Line drawings made by a number. The same number draws the same figure, and one more number draws it, stroke by stroke.

engine/figure — forms as polyline generators, vertices carrying arc length, 32-bit seeds, projection from a pose.

16 PAPER

Print Kit

The page as a sheet of paper that a press can print, with the right inks and room to trim.

engine/print — sheet with bleed, ICC press profile, separation, rich-black keepaway, preflight, PDF/X-1a and TIFF.

17 JOURNEY

Crossing Kit

Moving from page to page as if through one site: what is the same stays the same while everything else changes.

engine/navigation — cross-document view transitions, remembered places, next page fetched on first intent.

18 ANSWERS

Form Kit

Forms that say what is wrong, only when it helps, in the reader’s own language.

engine/forms — rules, password strength measured as a search, form state; problems are codes, never words.

19 MEMORY

Ledger Kit

The back room: accounts, permissions, files, mail and records, kept carefully.

server/engine — crypto, SQL as data on D1, routes as data, sessions, GCRA limits, audit trail, access as bits, S3-shaped store on R2, mail.

20 BUILDING

Foundry Kit

What happens before the page exists: typefaces recut, colors compiled, plates made, and nothing published that no pipeline claims.

tooling/ — typeface, design, celestial, letterform, figure, meadow, gl pipelines; vite plugins, budgets, edge headers.

21 MEASURING

Gauge Kit

The instruments that say what a page really costs, on a real phone, while it is scrolled.

tools/measure — load, device, journey, workset; driver-side GPU time, modeled handsets, interleaved runs, backend parity.

Art & Technical Director

Şaho Bîrkar

Software and graphics engineer, and art director, from Saqqez, Kurdistan Province, Iran.

Studio

Bîrkar Studio

Not a studio — one person, and the people he makes things with.

THE RECORD

Kind
Engine & framework
Built with
TypeScript · Svelte · WebGL2 · WebGPU
Kits
21
Languages
English · Persian · Soranî · Kurmancî · Finnish
Made by
Bîrkar Studio

All of the time on one sheet, and one throat to pass through.

BACK TO THE WORK