Convolution Visualizer

Use JavaScript to define functions and see the discrete time convolution. This is a very scrappy, buggy tool, but it has proved helpful Furthermore, the convolution is not mathematically correct, it is just a numerical approximation. Code is on Github: https://github.com/wyatt/conv_vis

Made by Wyatt Sell

Built-in functions:
u(x) - Unit step function
impulse(x, center_x?) - Dirac impulse centeredat center_x
rect(x, width?, center_x?) - Rectangle function centered at center_x with width
Math.sin(x), Math.cos(x), Math.exp(x), etc.
Examples:
x => Math.sin(x) * u(x) - Sine wave for x≥0
x => { if (Math.abs(x) < 3) { return 1; } else { return 0; } } - JavaScript syntax for a piecewise function