fillMatrix(matrix, mousePosition.x, mousePosition.y, field.width, field.height, gap);
const updateMousePosition = document.addEventListener('mousemove', (event) => {
fillMatrix(matrix, mousePosition.x, mousePosition.y, field.width, field.height, gap);
const updateMousePosition = document.addEventListener('mousemove', (event) => {