Liking cljdoc? Tell your friends :D

tv-mount-planner.core

Planning math for a wall-mounted TV. Lengths in inches, weight in pounds, angles in degrees.

Reference ranges follow the guides at https://santaclaritatvmounting.com/ : seated screen center 42-48 in from the floor on a plain wall, TV bottom edge typically 4-12 in above a mantel, comfortable when the center is within about 15 degrees of the line of sight, bracket rated at least 1.5 x the TV weight. A planning aid, not a quote and not an engineering check.

Planning math for a wall-mounted TV. Lengths in inches, weight in pounds, angles in degrees.

Reference ranges follow the guides at https://santaclaritatvmounting.com/ :
seated screen center 42-48 in from the floor on a plain wall, TV bottom edge typically
4-12 in above a mantel, comfortable when the center is within about 15 degrees of the
line of sight, bracket rated at least 1.5 x the TV weight. A planning aid, not a quote and
not an engineering check.
raw docstring

bracket-ratingclj

(bracket-rating weight-lb)

Minimum bracket rating in whole pounds: 1.5 x the TV weight, rounded up.

Minimum bracket rating in whole pounds: 1.5 x the TV weight, rounded up.
sourceraw docstring

comfort-angleclj

source

planclj

(plan {:keys [diagonal weight eye distance mantel gap] :or {gap 6.0}})

Plan the mounting height and viewing angles. Options map: :diagonal :weight :eye :distance (required: diagonal, weight, eye, distance) :mantel mantel height in inches; omit for a plain wall :gap space between mantel and TV bottom edge (default 6.0) Plain wall: the center is the eye height clamped to 42-48 in. Mantel: center = mantel + gap + height / 2. Returns a map with :width :height :center :bottom :top :angle-center :angle-top :angle-bottom :comfortable? :bracket-rating-lb. Throws ex-info on invalid input.

Plan the mounting height and viewing angles. Options map:
  :diagonal :weight :eye :distance (required: diagonal, weight, eye, distance)
  :mantel   mantel height in inches; omit for a plain wall
  :gap      space between mantel and TV bottom edge (default 6.0)
Plain wall: the center is the eye height clamped to 42-48 in.
Mantel: center = mantel + gap + height / 2.
Returns a map with :width :height :center :bottom :top :angle-center :angle-top
:angle-bottom :comfortable? :bracket-rating-lb. Throws ex-info on invalid input.
sourceraw docstring

rating-factorclj

source

screen-sizeclj

(screen-size diagonal)
(screen-size diagonal [aw ah])

Width and height [w h] of a screen with the given diagonal. 16:9 unless an aspect ratio [aw ah] is given.

Width and height [w h] of a screen with the given diagonal. 16:9 unless an aspect ratio
[aw ah] is given.
sourceraw docstring

wall-center-maxclj

source

wall-center-minclj

source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close