Lerp Time Of Day

Pure
LerpTimeOfDay

Interpolates between two times of day, taking the shortest path across midnight.

Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date

Inputs

NameTypeDefaultDescription
TimeAfloat, hours 0-24TimeA parameter
TimeBfloat, hours 0-24TimeB parameter
Alphafloat 0-1Alpha parameter

Outputs

NameTypeDescription
ReturnValuefloat, hours 0-24ReturnValue output

Example Use Cases

Example 1

Smooth transition when teleporting between time zones.

Example 2

Blend between two time-of-day presets.