technique

Frame-to-frame delta tracking (pmouseX/pmouseY)

Compare the current per-frame position to the previous frame's stored value (pmouseX/pmouseY) to derive speed and direction of motion without any explicit physics state.

Also called: previous-frame position delta · pmouseX/pmouseY velocity · motion speed via previous position

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.