Below is a step-by-step verification using the default values (fontPt = 24
pt; LED width = 31.5
ft; LED height = 17.7
ft; viewerDistance = 150
ft):
0.333 in
tall on the slide.212.4 in
.inchPerPx = 212.4 ÷ 1080 ≈ 0.1967 in/px
.textPx = 0.333 in ÷ 0.1967 in/px ≈ 1.692 px
.scale = LED_width / viewerDistance = 31.5 ÷ 150 ≈ 0.21
.640 × 0.21 = 134.4 px
;134.4 × (17.7/31.5) ≈ 75.6 px
, keeping the real aspect ratio.slideScale = min(134.4/640, 75.6/360) = 0.21
1.692 px × 0.21 ≈ 0.355 px
;0.355 px × 0.1967 in/px ≈ 0.07 in
.Key validation: At viewerDistance = LED_width, the blue box and PPT preview align 1:1, proving the preview’s real-world accuracy. All dimensions then scale uniformly with distance.