I am working on a karax app (built with nimib) that plots in canvas an object based on some inputs.
Right now I am calling the plot function (which ultimately is a script that updated the canvas element) after an input is changed, but I am sure there is a better way to do this. In particular I do not know how to have the plot function called at the beginning, when input is not changed. app is here: <https://pietroppeter.github.io/nblog/drafts/plant_app.html> (plot function code is here: <https://pietroppeter.github.io/nblog/drafts/plant_js.html>)
