Skip to content

Commit d3b5061

Browse files
committed
Stray commits
1 parent b5d4633 commit d3b5061

File tree

5 files changed

+25
-27
lines changed

5 files changed

+25
-27
lines changed

bernoulli_percolation/simulation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ function updateParams(variable) {
2525

2626
function initParams() {
2727
if (mobile) {
28-
num_cells = 30;
28+
num_cells = 50;
2929
}
3030
else {
31-
num_cells = 50;
31+
num_cells = 80;
3232
}
3333

3434
cell_length = canvas_width / num_cells;

index.html

+17-19
Original file line numberDiff line numberDiff line change
@@ -146,25 +146,23 @@ <h1 id="main-heading">Visualize It</h1>
146146
<br>
147147

148148
<div class="row physics">
149-
<div class="row">
150-
<div class="col s12 l5">
151-
<img class="responsive-img" src="images_webp/ising_model.webp" alt="ising model">
152-
</div>
153-
<div class="col s12 l7">
154-
<h2 style="margin:0">Ising Model</h2>
155-
<center>
156-
<span>#physics #simulation</span>
157-
</center>
158-
<p class="flow-text">
159-
Explore the Ising Model of Ferromagnetism. Tweak parameters like temperature and interaction
160-
strength, and see how the system evolves in real-time! Learn how the simulation works.
161-
</p>
162-
<center>
163-
<a href="ising_model/simulation.html">
164-
<button class="btn purple darken-4 visit-button">Visit</button>
165-
</a>
166-
</center>
167-
</div>
149+
<div class="col s12 l5">
150+
<img class="responsive-img" src="images_webp/ising_model.webp" alt="ising model">
151+
</div>
152+
<div class="col s12 l7">
153+
<h2 style="margin:0">Ising Model</h2>
154+
<center>
155+
<span>#physics #simulation</span>
156+
</center>
157+
<p class="flow-text">
158+
Explore the Ising Model of Ferromagnetism. Tweak parameters like temperature and interaction
159+
strength, and see how the system evolves in real-time! Learn how the simulation works.
160+
</p>
161+
<center>
162+
<a href="ising_model/simulation.html">
163+
<button class="btn purple darken-4 visit-button">Visit</button>
164+
</a>
165+
</center>
168166
</div>
169167
<br>
170168
<hr>

lotka_volterra/simulation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,10 @@ function newGrid() {
206206

207207
function initParams() {
208208
if (mobile) {
209-
pixel_size = 3;
209+
pixel_size = 2;
210210
}
211211
else {
212-
pixel_size = 5;
212+
pixel_size = 3;
213213
}
214214

215215
length = Math.floor(canvas_width / pixel_size);

porous_percolation/simulation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ function updateParams(variable) {
3838

3939
function initParams() {
4040
if (mobile) {
41-
num_cells = 80;
41+
num_cells = 100;
4242
}
4343
else {
44-
num_cells = 100;
44+
num_cells = 130;
4545
}
4646

4747
cell_length = Math.ceil(canvas_width / num_cells);

tdp/simulation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ function updateParams(variable) {
201201

202202
function initParams() {
203203
if (mobile) {
204-
n = 30;
204+
n = 50;
205205
}
206206
else {
207-
n = 50;
207+
n = 80;
208208
}
209209
cell_length = canvas_width / n;
210210

0 commit comments

Comments
 (0)