Imagine you are editing a short video in an editing program on a timeline. Shifting is simply dragging the clip forward or backward along the timeline so that it starts later (a delay) or earlier. Time reversal is applying a "reverse" effect, in which the clip plays from the end to the beginning. Scaling is changing the playback speed: double speed \((\times 2)\) squeezes the clip into half of its original time, while slow motion \((\times 0.5)\) stretches it. When you combine them all, the order is critical – just as you first place the clip in the right spot on the timeline and only then change its speed.
Signal transformation deals with changing the independent variable (the time \(t\)), and it works in exactly the same way for continuous and discrete signals. There are three basic operations:
Combining the three operations gives a linear transformation of the form \(x(t) \to x(at + b)\). To sketch the new signal without falling into mistakes, you follow a fixed order: first you perform the shift \((x(t) \to x(t+b))\), and only then you apply the scaling and the reversal to the variable \(t\) alone \((x(t+b) \to x(at+b))\). For example, to get \(x\left(\frac{3}{2}t + \frac{3}{2}\right)\), we first shift the signal \(\frac{3}{2}\) units to the left to \(x\left(t+\frac{3}{2}\right)\), and only then compress it by a factor of \(\frac{3}{2}\).
A dashed, semi-transparent neon-turquoise line (a "ghost trace"). It never moves, so it is always clear where we started.
A solid, thick line glowing in magenta-orange. It responds immediately to every slider movement, with a small elastic transition.
A soft white line with a mirror icon at its top: the anchor about which the reversal and the compression happen.
Above the graph: \(y(t) = x(\color{#FF5E7E}{a}\cdot t + \color{#38BDF8}{b})\). The numbers are colored like the sliders and change while you drag.
The slider moves between \(-8\) and \(8\). While you drag, a glowing arrow appears below the \(t\) axis: "Shift left" for \(b > 0\) and "Shift right" for \(b < 0\).
The slider moves between \(0.25\) and \(4\), with magnetic stops at \(0.5\), \(1\), \(1.5\) and \(2\). The tag next to it switches between "Expansion (stretching)" \((|a| < 1)\) and "Compression" \((|a| > 1)\).
Flips the sign of \(a\). The signal turns over about the \(y\) axis like a page, so you see the right and left sides swap places.
Four buttons that restore \(x(t-4)\), \(x(-t)\), \(x(0.5t)\) and \(x\left(\frac{3}{2}t+\frac{3}{2}\right)\) on the selected signal with one click.
The signal resets to \(x(t)\), slides to \(x(t+b)\) (step 1), pauses with a floating explanation, and then stretches or compresses (and flips if \(a < 0\)) to \(x(at+b)\) (step 2). A dotted orange line keeps \(x(t+b)\) for comparison.
During the player, dashed lines drop every key point to the \(t\) axis, and orange labels show its \(t\) coordinate in real time, for example while it is divided by \(a\).
Glowing dots on the start, the break and the end of the signal. Hovering with the mouse (or touching) a point of the new signal draws a dashed line to its twin in the original signal and pops up a label: at which \(t\) the signal reads which value of \(x\).
The slider slows the player and the animations down to \(\times 0.1\) or speeds them up to \(\times 2\), and ⏸ freezes everything. It changes only the pace of the display.
\(a\) and \(b\), the shift direction, where the signal starts and ends on the \(t\) axis, the slope of the sloped segment, where each key point moved, and the point marked by the X-ray.