document.getElementById(id + &#x27;Out&#x27;);
  control.addEventListener(&#x27;input&#x27;, function() {
    output.innerText &#x3D; control.value;
    raster.changed();
  });
  output.innerText &#x3D; control.value;
  controls[id] &#x3D; control;
});

raster.on(&#x27;beforeoperations&#x27;, function(event) {
  // the event.data object will be passed to operations
  var data &#x3D; event.data;
  data.resolution &#x3D; event.resolution;
  for (var id in controls) {
    data[id] &#x3D; Number(controls[id].va