Added category: ContinuouslyChanging nodes |
m YoshBot moved page ProtoFlux:Inverted Smooth Delta Time to ProtoFlux:InvertedSmoothDeltaTime: Automated: removing spaces from ProtoFlux namespace |
(No difference)
|
Latest revision as of 00:24, 21 August 2025
Smooth 1/dT
Time
The Inverted Smooth Delta Time
node returns the frames per second, shown when pulling a display node from it and comparing it to the Dash's FPS counter. This will attempt to adjust to any lag or stutters by smoothing out the differences between the results.
This is done by taking the reciprocal of delta time: FPS = 1 / dT (+ some smoothing algorithm)
Example Calculation
For instance, if the delta time (dt) is 0.016 seconds (which is approximately the time per frame for a game running at 60 FPS), the FPS can be calculated as:
FPS = 1/0.016 ≈ 62.5
Outputs
* (float)
Returns the inverted and smoothed delta time (1 / dT), showing the amount of frames in a second.