JSFiddle - React, Tailwind, and code Playground
HTML
<canvas width=400 height=300></canvas>
JavaScript
var ctx = $$('canvas')[0].getContext('2d');
ctx.strokeStyle = 'rgba(0,0,0,0)';
ctx.shadowBlur = 10;
ctx.shadowColor = "#000000";
ctx.lineWidth = 10;
ctx.lineCap = 'round';
ctx.lineJoin = 'round';
ctx.beginPath();
ctx.moveTo(100, 100);
ctx.lineTo(200, 200);
ctx.lineTo(300, 100);
ctx.stroke();