TechniquesNewWorld screens: video on curved glass in a 3D scene, on the show clock (engine-free)
The HaTac engine’s video screens and its screen recipe kind, lifted out whole on raw WebGPU with no engine.

The HaTac engine’s construction kit, lifted whole and engine-free.
Four modules work together. The construction solvers lay out real stock from a player’s intent: stairs and ramps that divide their rise into lawful risers with landings and stringers seated on posts, brackets or floors; railings with shared, mitred corner posts; hip, gable, shed and flat roofs from any rectilinear outline with ridges, hips and valleys; wall openings framed on the wall’s grid. The piece set expands a few authored families (decks, walls, pillars, roof cells, stairs, guards) into every member a grid needs: a wall junction for each neighbour pattern, a deck with edge members on its open sides, a roof cell for each corner-height pattern, with optional plinths, bands, posts, glazing, trusses and bolts, and a checker that compares the actual mating outlines at every level of detail. Piece batches keep placed members editable near the camera and merge settled cells into shared meshes off the frame (identical cells share one), hiding the faces neighbours cover and keeping every edge vertex so nothing cracks. Palette areas resolve each material role at a piece’s placement anchor, so one palette switch rewrites a colour table and nothing else. The library adds the glue the engine kept in its core (members from the solvers, neighbour picks, a palette provider) and a small standalone WebGPU drawer with levels of detail, a shadow map and an exported light model. The demo is a build site: lay floors, walls, roofs and stairs on a grid and watch every piece pick its corners and edges from its neighbours; roofs are hipped, gabled or flat per footprint with their open ends closed, and an edit that would leave something standing on nothing is refused with the reason.
Measured 28 November 2026 on RTX 4060 Laptop, 13th Gen Intel(R) Core(TM) i9-13900H, Chrome 158, 1920×1080 at 1×. 600 frames × 3 rounds, median kept (rounds ranged GPU 1.71–2.98, CPU 0.49–0.52 ms). What ran: Alone: every member of the demo’s generated set (24 members in six families: decks, wall panels and junctions, a column, six roof cells, a stair flight and a guard) laid out in rows and drawn instanced with the fixed shadow map, the ground, the trees and the sky; no merging, no areas. Phones: tiers are being measured next.
Frames run on a 60 Hz timer (a page demo), so most frames take about one tick, 16.7 ms: the spread around it is what matters.
install("construction-kit")Your coding agent reads its pitfalls and installs it through the library’s MCP server. Set it upFrom HaTac. Adapted from published work, named below.
Hannes Andersson: The HaTac engine’s construction solvers, piece sets, piece batches, palette areas, their decisions and tests (built for his game and proven there); the library’s glue, drawer and demo.
Brian Karis, Real shading in Unreal Engine 4 (SIGGRAPH 2013): The GGX distribution, Schlick–Smith visibility and Fresnel in the drawer’s light model.
Krzysztof Narkowicz, ACES filmic tone mapping curve (2016): The fitted curve the drawer tone-maps with.