JSFiddle - React, Tailwind, and code Playground HTML <canvas id="canvas"></canvas> <input type="button" value="adjust" id="adjust" /> JavaScript -