Package

purescript-slatwall

Repository
getmediawall/purescript-slatwall
License
MIT
Uploaded by
pacchettibotti
Published on
2026-11-17T04:26:30Z

Slat panel TV media wall calculator for PureScript: panels across, panel rows, slats per panel, the real gap when the slats are spread evenly, the order quantity with one spare panel, and the size of a 16:9 TV from its diagonal. All lengths are in inches.

import SlatWall (defaultWall, plan, tvSize)

plan defaultWall { width = 144.0 }
-- Just { panelsAcross: 6, rows: 1, slatsPerPanel: 12, gap: 0.9, ... }

tvSize 65.0
-- Tuple 56.65... 31.87...

Install with spago install slatwall.

Defaults (24 x 96 in panels, 1.1 in slats, 0.75 in minimum gap) are typical values only; use the data sheet of the panels you install. Plan the TV mount in studs or masonry behind the panels, not in the felt backing.

Interactive planner

The same arithmetic runs in the free Design Your Wall planner, which draws a slat media wall to scale with a TV, fireplace or console and counts the panels and the cost as you change the size and finish.

Made by GetMediaWall, a US directory of TV media wall builders and TV mounting installers.

License

MIT

Modules
SlatWall
Dependencies