Skip to content

Commit

Permalink
feat: reduce maximum periods
Browse files Browse the repository at this point in the history
  • Loading branch information
rei1024 committed Oct 21, 2024
1 parent c320f44 commit d20ec46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ <h2>Note</h2>
Outer-totalistic cellular automata are supported (without B0).
</li>
<li>The supplied pattern must be a phase of an oscillator.</li>
<li>The maximum period that can be analyzed is 50,000.</li>
</ul>
</section>
<section>
Expand Down
2 changes: 1 addition & 1 deletion src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function handleRequest(data: WorkerRequestMessage): WorkerResponseMessage {
const result = analyzeOscillator({
cells: cells,
transition: rule.transition,
maxGeneration: 100_000,
maxGeneration: 50_000,
});
return { kind: "response-analyzed", data: result };
} catch (error) {
Expand Down

0 comments on commit d20ec46

Please sign in to comment.