Check out example codes for "turn of blur html canvas". It will help you in understanding the concepts better.

Code Example 1

const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');

ctx.filter = 'blur(4px)';
ctx.font = '48px serif';
ctx.fillText('Hello world', 50, 100);

Learn ReactJs, React Native from akashmittal.com