<canvas> elements named canvasInput1, canvasInput2 and canvasOutput have been prepared. The code of <textarea> will be executed when <input> element named trackbar value changes. You can change the code in the <textarea> to investigate more.