phosphor-tiles
Tiling algorithms (Luau via pluau), the registry, and TilingState.
The algorithm vocabulary and per-screen tiling state. TilingAlgorithm is the base; LuauTileAlgorithm is the single concrete implementation — every layout (binary-split, master-stack, columns, spiral, …) ships as a .luau script in data/algorithms/, written against the pluau standard library. There are no hard-coded C++ geometry algorithms. ScriptedAlgorithmLoader discovers and hot-reloads *.luau files; AlgorithmRegistry is the concrete catalogue. The Luau host (read-only sandbox, watchdog, marshalling) lives in phosphor-scripting. TilingState tracks per-screen window order + master count + split tree and implements IPlacementState. AutotileLayoutSource is the ILayoutSource adapter. The runtime engine lives in phosphor-tile-engine.
Key types
TilingAlgorithmLuauTileAlgorithmScriptedAlgorithmLoaderAlgorithmRegistryTilingStateAutotileLayoutSourceAutotilePreviewRenderDependencies
QtCorephosphor-layout-apiphosphor-enginephosphor-scriptingphosphor-fsloader
See also
References
- Library overview → The library's design notes in the API reference.
- Namespace index → Every symbol under
PhosphorTiles::. - API reference → Classes, namespaces and D-Bus interfaces across every library.