]) => {
        const div = document.createElement('div');
        div.innerHTML = `
            <label for="${key}">${key}:</label>
            <input type="range" id="${key}" min="${param.min}" max="${param.max}" value="${param.value}" step="${param.step}">
            <span>${param.value}</span>
        `;
        paramControls.appendChild(div);
        const input = div.querySelector('input');
        const span = div.querySelector('span');
        input.addEventListener('input', () => {
            cur