This directory contains the cross-platform technical specifications, data schemas, mathematical models, engineering decision records, and platform implementation guides for NativeScreen (macOS & Windows).
-
01-OVERVIEW-AND-ARCHITECTURE.md- Core philosophy ("80% OS Native + 20% Custom Pro")
- Performance budgets (
0.0%Idle CPU,< 120 MBRAM, Zero-Copy GPU pipeline, Zero FFmpeg dependency) - 5-Layer System Architecture (macOS SwiftUI/Metal & Windows WinUI 3/Direct3D 11)
- Non-Linear Editing (NLE) & Value-Type Snapshot Undo/Redo (
⌘Z/⇧⌘Z) - Multi-project simultaneous editing architecture
-
.nativescreenpackage bundle structure- Cross-platform normalized coordinate convention (
[0.0, 1.0]) - Append-only
.jsonltelemetry schemas (cursor.jsonl,clicks.jsonl,keys.jsonl,window.jsonl) recording/metadata.jsonandproject.jsonfull specification
-
03-CINEMATIC-ENGINE-AND-MATH.md- 120Hz Spring Physics Solver (cursor glide, lookahead phase-lag compensation, active drag acceleration & virtual camera dolly/zoom)
- Stationary
CursorMovesGroupdead-zone clustering & screen-rect space interpolation - 6-Pass GPU Compositor pipeline (Background, Multi-Track Masks, SDF Rounded Screen Frame & Cached Drop Shadow, Cursor/Ripples, 1-Frame Shutter Motion Blur, Liquid Glass Loupe Shader, and 3D Keycap Overlay)
-
04-UI-UX-AND-LEGAL-GUIDELINES.md- Floating Recording HUD Bar (
NSPanel/ Acrylic) - Smart Window Picker Overlay (Z-order hit-testing, app icon, dimensions,
AXUIElementwindow resize presets) - Main Editor layout & copyright/asset rules (System wallpapers from
/System/Library/Desktop Pictures/copied to.nativescreen/assets/upon selection, procedural Mesh Gradients, synthesized click audio)
- Floating Recording HUD Bar (
-
- Living interactive checklist (
- [ ]) ordered by priority from Phase 1 (MVP Core) through Phase 5 (Windows Port). - Check off items (
- [x]) as they are implemented and verified.
- Living interactive checklist (
-
06-ENGINEERING-DECISIONS-AND-OPTIMIZATIONS.md- Architecture Decision Records (ADRs) & performance breakthroughs:
- Hybrid Parallel Video Encoding (
VTCompressionSessionHW + Multi-core CPU) - Constant-Quality Keyframe Budgeting &
ITU_R_709_2(Rec. 709) Color Space - Sequential Zero-Copy
420vDecoding vs. Stateless Frame Generators - Materializing Lazy
CIImageGraphs into VRAMMTLTextures (waitUntilCompletedsync) - Uniform Shortest-Side Padding (
padByRatio) forAutoAspect Ratio - Telemetry Clock Synchronization (
t = 0.0 ms) & Spring Phase-Lag Lookahead - Retained-Layer 120Hz
.hover-magnetButton Physics & CSG Fillet Tooltip Geometry
- Hybrid Parallel Video Encoding (
- Architecture Decision Records (ADRs) & performance breakthroughs:
-
- Color pipeline (gamma-encoded sRGB compositing, BT.709 conversion), coordinate conventions, CoreImage primitive semantics, every compositor pass with its constants, text, effect kernels, camera looks (LUTs) and cutout.
-
- Swift → C# porting map, conformance fixtures generated by the macOS app, Windows phases with acceptance checks.
-
Platform-Specific Implementation Guides (
platforms/):platforms/macos-metal-videotoolbox.md: macOS deep dive, API pitfalls, concurrency rules, and benchmarks (AppKit,SwiftUI,Metal,CoreImage,AVFoundation,VideoToolbox).platforms/windows-d3d11-mediafoundation.md: Windows 11 implementation guide: stack, solution layout, threads and clocks, preview, decode, export, recording, UI, pitfalls.
- Formal JSON Schema (Draft 2020-12) for validating
project.jsoninside.nativescreenbundles.