diff --git a/aztec_diamond.js b/aztec_diamond.js index 5679cc2..a29335f 100644 --- a/aztec_diamond.js +++ b/aztec_diamond.js @@ -223,7 +223,9 @@ function step(state) { } else { throw("impossible state " + state.phase) } - window.setTimeout(step, 100, state) + if (state.n < 100) { + window.setTimeout(step, 100, state) + } }