Peter C Marks (3) [Avatar] Offline
#1
The example code uses app.ports.applyFilters.subscribe()
app.ports.applyFilters.subscribe(function(options) {
  requestAnimationFrame(function() {
    Pasta.apply(document.getElementById("main-canvas"), options);
  });
});

It should be app.ports.setFilters.subscribe()

app.ports.setFilters.subscribe(function(options) {
  requestAnimationFrame(function() {
    Pasta.apply(document.getElementById("main-canvas"), options);
  });
});
rtfeldman (60) [Avatar] Offline
#2
Thanks! This will be fixed in the Chapter 7 update.