X-Git-Url: https://git.r.bdr.sh/rbdr/lissajous/blobdiff_plain/362f91160b243453578633e3f9af67ce40179d8c..HEAD:/lib/systems/amplitude_adjuster.js diff --git a/lib/systems/amplitude_adjuster.js b/lib/systems/amplitude_adjuster.js index 71f7277..aed7848 100644 --- a/lib/systems/amplitude_adjuster.js +++ b/lib/systems/amplitude_adjuster.js @@ -10,6 +10,9 @@ const internals = { } }; +/** + * UI that adjusts the amplitude of any compatible object + */ export default class AmplitudeAdjuster extends System { constructor(container) { @@ -36,6 +39,7 @@ export default class AmplitudeAdjuster extends System { ['a', 'b', 'c'].forEach(key => { nodeElement.appendChild(slider({ + id: `amplitude-adjuster-${i}-slider-${key}`, min: '0', max: '1', step: '0.01',