Shadow Length & Direction
Tools工具

Shadow Length & Direction影子长度与方向

How long is that shadow, and which way does it fall? Compute it for any time and place.那道影子有多长、朝哪个方向延伸?任意时间与地点均可计算。

Set this to your shoot location's timezone, e.g. UTC-4 or +08:00.

Results

Shadow length = height ÷ tan(altitude)

How to use this tool

  1. Enter the height of the object casting the shadow (a person, a tree, a monument).输入投影物体的高度(人、树或纪念碑)。
  2. Set the date and time you plan to shoot — or let it default to your current time.设置计划拍摄的日期与时间——或保留默认的当前时间。
  3. Use the shadow direction to position your subject: backlit subjects should stand with their shadow pointing at the camera.用影子方向摆放主体:逆光主体应让影子指向相机。
Pro tip At golden hour (sun ≈ 6°), a 2 m person casts a 19 m shadow — long diagonals that anchor compositions. At noon (sun ≈ 60°), the same person casts just 1.15 m. Plan shadows as graphic elements, not accidents.黄金时刻(太阳约 6°)时,2 米高的人会投出 19 米长的影子——长长的斜线能锚定构图。正午(太阳约 60°)时同一人只有 1.15 米影子。把影子当作画面元素来规划,而非意外。

About this tool关于这个工具

Shadows are geometry you can predict before you leave home. A tree, a person or a canyon wall throws a shadow whose length depends only on the object's height and the sun's altitude, and whose direction is exactly opposite the sun's azimuth. This tool takes a date, a time and a location, then reports the sun's altitude and bearing, the shadow length in metres, the compass direction the shadow points, and the length-to-height ratio so you can compare subjects of different sizes.影子是出发前就能算出的几何。一棵树、一个人或一面峡谷壁投下的影子,长度只取决于物体高度和太阳高度角,方向恰好与太阳方位相反。这个工具输入日期、时间和地点,输出太阳高度角与方位、影子长度(米)、影子指向的罗盘方位,以及影长与物高之比,便于比较不同大小的主体。

Photographically, the ratio is more useful than the raw length. At a 45° sun the shadow equals the object's height, at 30° it is 1.7 times the height, and near the horizon it stretches far beyond the frame. Long shadows connect foreground and background and can hide clutter, while short midday shadows turn into dark anchors under a subject. Remember that the calculation assumes level ground: a slope facing the sun compresses the visible shadow and one falling away stretches it.从摄影角度看,比例比绝对长度更有用。太阳高度 45° 时影长等于物高,30° 时是物高的 1.7 倍,接近地平线时会远远伸出画面。长影子连接前景与背景,也能掩盖杂乱;正午的短影子则变成主体下方的深色锚点。要记住计算假设地面水平:迎着太阳的上坡会压缩可见影子,向远处下落的地面则会把它拉长。

How the calculation works计算原理

Length comes straight from the tangent: L = h / tan(a), where h is the object height and a the solar altitude at your chosen minute. Direction is the solar azimuth plus 180°, normalised to 0–360°, because a shadow falls away from the light. Altitude and azimuth come from the NOAA solar model for the date, coordinates and UTC offset you enter, so the sun's position is solved rather than read from a table. Model uncertainty is about a minute in time; the larger practical errors are the height estimate, uneven ground and the soft edge of a real shadow.长度直接来自正切:L = h / tan(a),h 是物体高度,a 是你所选时刻的太阳高度角。方向是太阳方位角加 180°,再归一化到 0–360°,因为影子总是背光而落。高度角与方位由 NOAA 太阳模型按你输入的日期、坐标和 UTC 偏移求解,而不是查表。模型的时间误差约一分钟级;实际误差主要来自物高估计、地面起伏和真实影子的软边。

  • Measure the object, not the shadow. Guessing a tree's height by eye can easily be off by 20 percent, which carries straight into the result.测量物体,而不是影子。目测树高很容易差 20%,误差会直接进入结果。
  • Choose a time when the shadow points where you want it. A backlit subject needs the shadow aimed at the lens; a side-lit wall works best with the shadow running across the frame.选择影子指向符合构图的时间。逆光主体要让影子指向镜头;侧光墙面则适合让影子横穿画面。
  • Account for soft edges. The sun is about half a degree wide, so a shadow several metres long has a penumbra wide enough to weaken the graphic line.考虑软边。太阳视直径约半度,因此几米长的影子会有一段足够宽的半影,削弱图形线条。
  • Slopes break the formula. On rising ground the visible shadow is shorter than the calculated value, and on falling ground it can run much farther.坡地会破坏公式。上坡上可见影子比计算值短,下坡上则可能延伸得远得多。

Frequently asked questions常见问题

Why does the shadow point away from the sun?为什么影子背向太阳而不是朝向太阳?

Light travels from the sun to the object and continues in the same direction, so the shadow is cast on the far side. If the sun bears 120°, the shadow points at 300°, which is why a backlit subject throws its shadow toward the camera.光从太阳射向物体后沿同一方向继续传播,所以影子落在背光一侧。若太阳方位是 120°,影子就指向 300°;这就是逆光主体的影子会朝相机方向投来的原因。

Why is there no shadow at solar noon in the tropics?为什么热带正午没有影子?

Between the Tropics the sun can pass directly overhead, and a vertical object then casts a shadow almost entirely beneath itself. The tool reports a very short length or no usable direction at that instant, which is a real effect rather than a failure.在南北回归线之间,太阳可以经过天顶,竖直物体此时几乎把影子投在自己脚下。工具会给出极短的长度或没有可用方向,这是真实效应,不是故障。

Can I predict when a wall's shadow reaches a spot?能反过来用影子预测墙面阴影到达某点的时间吗?

Yes. Measure the horizontal distance from the wall to the spot and divide by the wall's height to get the required ratio. Then find the time when the calculated ratio matches: the shadow arrives at that moment, which is useful for placing a subject in the light.可以。量出该点到墙的水平距离并除以墙高,得到所需的比例;再找出工具中比例等于该值的时刻。影子会在那个时间抵达该点,可用于安排人物站位或等待光斑。

Related tools