Hyperlapse and Day-to-Night Planning
Updated · Figures verified · Sources
The planning math for the two harder time-lapses: how far to move the camera between frames and how much to crop for stabilizing, and how to time and ramp the exposure from daylight through twilight into night.
- Hyperlapse
- Holy grail
- Twilight
- Exposure ramp
On this page
Hyperlapse: the camera moves
Plan a hyperlapse by dividing the path by the frames the clip needs: a 120 m walk for an 8-second clip at 24 fps is 192 frames, one every 62.5 cm. Plan a day-to-night shot around the local sunset and civil twilight times, with an interval long enough for the darkest exposure.
A hyperlapse is a time-lapse where the camera travels between frames: along a street, across a bridge, round a building. The frame count and interval come from the same formulas as any time-lapse (see the time-lapse calculator guide). Two more numbers decide whether it works: how far to move between frames, and how much picture to keep spare for stabilizing.
Distance per frame
Frames = Clip length (s) × Frame rate
Step = Path length ÷ FramesExample: A 120 m walk across a bridge, 8-second clip at 24 fps
- Calculation:
- Frames = 8 × 24 = 192; Step = 120 ÷ 192 = 0.625 m
- Result:
- Move 62.5 cm between frames: mark the path every 62.5 cm, or count paving slabs
| Path | 5 s clip | 8 s clip | 15 s clip |
|---|---|---|---|
| 50 m | 41.7 cm | 26.0 cm | 13.9 cm |
| 120 m | 100.0 cm | 62.5 cm | 33.3 cm |
| 300 m | 250.0 cm | 156.3 cm | 83.3 cm |
The interval in a hyperlapse is set by you, not by the event: the time it takes to move one step, re-aim at the same point on the subject and fire. If that takes 5 seconds, 192 frames take 192 × 5 = 960 s, 16 minutes on location. Shorter steps give smoother motion and a slower-looking move; longer steps cover more ground per second of screen time.
Crop margin for stabilizing
Stabilizing a hyperlapse shifts, rotates and scales each frame, which needs picture outside the final frame. Shoot wider than you deliver and the difference is your margin.
Kept = Output width ÷ Capture width
Margin each side = (1 − Kept) ÷ 2Example: UHD output (3,840 px) from Nikon Z6III stills (6,048 pixels across)
- Calculation:
- Kept = 3,840 ÷ 6,048 = 63%; Margin = (1 − 0.635) ÷ 2 = 18.3%
- Result:
- 18.3% of the width spare on each side for the stabilizer to use
| Camera | Still width (pixels) | UHD (3840) | DCI 4K (4096) |
|---|---|---|---|
| Nikon Z 9 | 8,256 | 47% · 26.7% | 50% · 25.2% |
| Nikon Z6III | 6,048 | 63% · 18.3% | 68% · 16.1% |
| Panasonic LUMIX DC-GH7 | 5,776 | 66% · 16.8% | 71% · 14.5% |
| Sony FX3 | 4,240 | 91% · 4.7% | 97% · 1.7% |
Standard large still-image dimensions from the camera specifications. Margins assume a centered crop to the output width at one source pixel per output pixel.
The higher the resolution, the more room the stabilizer has: the Nikon Z 9's 45.4 megapixels leave 26.7% of the width spare on each side for UHD, while the Sony FX3's 12.0 leave 4.7%, which a shaky handheld walk can use up.
Frame the shot looser than you want it to end up, so that the subject still sits where you want it after the crop.
Day-to-night: the light changes
A day-to-night time-lapse, often called a holy grail, runs from daylight through sunset and twilight into darkness. The camera usually stays put; the problem is exposure. The light falls by many stops over the shot, and the exposure has to follow it smoothly enough that the change is invisible frame to frame.
When the light goes
The US Naval Observatory defines the stages by the Sun's angle below the horizon. Sunset is when its upper edge touches the horizon; civil twilight ends when its center is 6° below, nautical twilight at 12° and astronomical twilight at 18°. The minutes between those angles change with latitude and season, so look up the times for your location and date (the USNO data service gives them) rather than using a rule of thumb. Two cities on the two solstices show how much it moves:
| Place and date (2026) | Sunset | Civil twilight ends | Sunset to civil end |
|---|---|---|---|
| Los Angeles, June 21 | 20:08 | 20:37 | 29 min |
| Los Angeles, December 21 | 16:48 | 17:16 | 28 min |
| London, June 21 | 21:22 | 22:09 | 47 min |
| London, December 21 | 15:53 | 16:34 | 41 min |
- Start before sunset, so the shot opens in daylight.
- Expect the fastest change around and after sunset, through civil twilight.
- End after the sky has gone dark enough for your shot; for stars, that is after nautical or astronomical twilight.
Ramping the exposure
The interval in a day-to-night shot is set by the night end, because the longest exposure of the sequence has to fit inside it. Work the interval out from the event and the clip as usual (the free time-lapse calculator does it in your browser), then check the night exposure fits.
Case study
Sunset to night over Los Angeles
Scenario
June 21: shoot from 30 minutes before the 20:08 sunset to 60 minutes after, 90 minutes in all, for a 15-second clip at 24 fps.
Challenge
Find the interval, check the longest night exposure fits, and plan how often to change the exposure.
Solution
- Frames and interval from the time-lapse formulas.
- The night exposure has to finish, and the frame be written, inside the interval.
- Spread the total exposure change across the frames in the camera's 1/3-stop steps. Here we assume a test the evening before showed a 10-stop drop; measure your own scene.
The numbers
Frames: 15 × 24 = 360; Interval: 5400 ÷ 360 = 15 s; Speed-up: 5400 ÷ 15 = 360×Sunset falls on frame 120, the end of civil twilight (20:37) on frame 236Longest exposure: under 15 s, less the camera's write timeSteps: 10 stops × 3 = 30 changes of 1/3 stop; 360 ÷ 30 = one change every 12 frames
Result
A 15-second interval, night exposures kept a few seconds under that, and a 1/3-stop change about every 12 frames (every 3 minutes) on average, more often between frames 120 and 236.
Key takeaways
- Keep the aperture fixed: changing it shifts depth of field and can flicker. Ramp shutter first, then ISO.
- Set white balance manually and change it in the grade, not in camera.
The light does not fall evenly, so a fixed schedule is only a starting point. Watch the histogram and change exposure when it has drifted by about a third of a stop. Intervalometers and apps that ramp the shutter automatically (often called bulb ramping) make the steps smaller and more frequent, which is easier to smooth later.
Deflicker and the edit
Each exposure change leaves a small step in brightness, and the shot flickers if you play it straight. Shoot raw so you have room to correct, then use a deflicker tool or keyframed exposure in the grade to smooth the steps into a continuous ramp. Leave a few seconds of extra frames at each end for handles.
Storage is the same sum as any time-lapse: frames × file size. 360 lossless Nikon Z9 NEFs at Nikon's approximate 55.1 MB are about 19.8 GB; the time-lapse guide compares formats. The recording media guide covers card capacity and offload time.
Next step: set the event length, clip length and frame rate in CineMath's Time Lapse calculator, or the free time-lapse calculator in your browser, to get the interval, then check the night exposure fits inside it.
Calculators for this guide
Sources
- Rise, Set, and Twilight Definitions, US Naval Observatory. Sunrise and sunset when the Sun’s center is 90.8333° from the zenith (upper limb on the horizon); civil, nautical and astronomical twilight end with the center 6°, 12° and 18° below the horizon. (checked )
- Sun and Moon Rise/Set/Transit/Twilight Data for One Day, US Naval Observatory. 21 June and 21 December 2026: Los Angeles (34.05° N, 118.25° W) sunset 20:08 and 16:48, end of civil twilight 20:37 and 17:16; London (51.51° N, 0.13° W) sunset 21:22 and 15:53, end of civil twilight 22:09 and 16:34 (local time). (checked )
- Nikon Z9 Reference Guide: Memory Card Capacity, Nikon. NEF (RAW) lossless compressed about 55.1 MB (3600 frames), high efficiency★ about 33.0 MB (8500), high efficiency about 22.0 MB (12,100); JPEG fine Large about 24.1 MB (10,400). Counts for a ProGrade Digital COBALT 1700R 325 GB card; they vary with the scene. (checked )
- LUMIX GH7 specifications · Recording format for still images, Panasonic. Large 4:3 still output is 5776 × 4336 pixels. (checked )
- FX3 Help Guide · JPEG Image Size/HEIF Image Size, Sony. The full-frame 3:2 Large setting records 4240 × 2832 pixels. (checked )
- CineMath camera database, CineMath. 164 cameras, each figure checked against the manufacturer's published specs; exported 2026-11-28. Nikon still-image dimensions in the crop-margin table come from the reviewed camera records.