Stop after 100 iterations
It gets too slow way before that.
This commit is contained in:
parent
35960a8d29
commit
cfc2b47f45
|
@ -223,8 +223,10 @@ function step(state) {
|
||||||
} else {
|
} else {
|
||||||
throw("impossible state " + state.phase)
|
throw("impossible state " + state.phase)
|
||||||
}
|
}
|
||||||
|
if (state.n < 100) {
|
||||||
window.setTimeout(step, 100, state)
|
window.setTimeout(step, 100, state)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
initial_state = ad_1()
|
initial_state = ad_1()
|
||||||
|
|
Loading…
Reference in New Issue