Expand description
Driving the kernel the way a front end does — batches of events on a 60 Hz clock over a fixed viewport — for the suites and benches above it.
The camera rests at unity with the viewport at the origin, so screen and world agree until something moves the camera.
Structs§
- Settled
Grid - The
n×nautogen grid, settled — every wire routed and its corners written. Settling is the slow part, so it is done once and sessions are seeded from it.
Constants§
- FRAME
- One 60 Hz frame, so the easing table advances the way it does live.
- VIEWPORT
- The canvas every batch reports.
Functions§
- at
- The tick for
millisinto the session. - batch
- A batch as a front end sends one: what time it is and how big the canvas is, in front of whatever happened.
- batch_
in - The same, from a canvas of another size.
- blocks
- Every block of the viewed document, in id order.
- down
- The primary button pressed at
pos. - moved
- The pointer over the canvas, here.
- up
- The primary button released at
pos.