svelte-mediawall

Svelte 5 components for TV planning: screen size, seating distance and mount height over a console, with a to-scale wall elevation. The maths is shared with tv-mount-planner-mcp. By GetMediaWall (getmediawall.com).

TV screen size

Width and height from the diagonal.

Width
56.7"
Height
31.9"

Seating distance

From a 40° (THX) to a 30° (SMPTE) field of view.

Sit between 6.5 ft and 8.8 ft.

In range 32.9° field of view; 59–80" TVs suit this seat.

Mount height

Screen centre at seated eye height, clear of the furniture below.

centre 42.9"
Screen centre
42.9" from the floor
Bottom / top
27" / 58.9"
Gap above furniture
3"
TV front from wall
4"
  • Raised the centre by 0.9" so the TV clears the furniture by 3".

Typical values; the TV and mount makers' instructions win.

Install

npm install github:getmediawall/svelte-mediawall#v1.0.0
<script>
  import { TvSizeCalculator, SeatingDistance, MountHeight } from 'svelte-mediawall';
  let diagonal = $state(65);
</script>

<TvSizeCalculator bind:diagonal />
<SeatingDistance bind:diagonal seatFt={9} />
<MountHeight bind:diagonal furnitureIn={24} units="metric" />

Source and docs: github.com/getmediawall/svelte-mediawall (MIT).

Made by GetMediaWall, a free TV media-wall planner and directory of TV installers. Typical values: the TV and mount makers' instructions, and local codes, always win. Written with AI assistance (Claude) and tested by us.