#include "web_opts.h" #include "comp.h" #include #include int delay_ms = 1000; EMSCRIPTEN_KEEPALIVE void set_delay(int delay) { delay_ms = delay; } EMSCRIPTEN_KEEPALIVE void set_stdev(float stdev) { if (!isnan(stdev)) horizontal_stdev = vertical_stdev = stdev; }