Skip to content

Commit

Permalink
Reduce max slits to 50 to avoid bug with peaks
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrustyPwo committed Aug 16, 2024
1 parent 06c9ba3 commit aac853d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/simulations/n_slit_diffraction.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<canvas id="nSlit"></canvas>

<div class="slits">
<input type="range" min="1" max="100" step="1" value="3" class="slider" id="slitsInput_nSlit">
<input type="range" min="1" max="50" step="1" value="3" class="slider" id="slitsInput_nSlit">
Slits: <span id="slitsValue_nSlit">3</span>
</div>
<div class="slitWidth">
Expand Down
2 changes: 1 addition & 1 deletion src/text/diffraction/main.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ where:
<canvas id="nSlit"></canvas>

<div class="slits">
<input type="range" min="1" max="100" step="1" value="3" class="slider" id="slitsInput_nSlit">
<input type="range" min="1" max="50" step="1" value="3" class="slider" id="slitsInput_nSlit">
Slits: <span id="slitsValue_nSlit">3</span>
</div>
<div class="slitWidth">
Expand Down

0 comments on commit aac853d

Please sign in to comment.