This actually doesn't work the way you want it to work: the mutability causes the `p8g_readonly_workaround` cell to be re-evaluated too, resulting in a constant reset. I can try to fix it for you if you want
Yes, is it due to the mutable change caused the cell to rerun. I had noticed a console.log in draw was running twice. I guess I could use window.r or an array of r[0]