File tree 5 files changed +25
-27
lines changed
5 files changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ function updateParams(variable) {
25
25
26
26
function initParams ( ) {
27
27
if ( mobile ) {
28
- num_cells = 30 ;
28
+ num_cells = 50 ;
29
29
}
30
30
else {
31
- num_cells = 50 ;
31
+ num_cells = 80 ;
32
32
}
33
33
34
34
cell_length = canvas_width / num_cells ;
Original file line number Diff line number Diff line change @@ -146,25 +146,23 @@ <h1 id="main-heading">Visualize It</h1>
146
146
< br >
147
147
148
148
< 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 >
168
166
</ div >
169
167
< br >
170
168
< hr >
Original file line number Diff line number Diff line change @@ -206,10 +206,10 @@ function newGrid() {
206
206
207
207
function initParams ( ) {
208
208
if ( mobile ) {
209
- pixel_size = 3 ;
209
+ pixel_size = 2 ;
210
210
}
211
211
else {
212
- pixel_size = 5 ;
212
+ pixel_size = 3 ;
213
213
}
214
214
215
215
length = Math . floor ( canvas_width / pixel_size ) ;
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ function updateParams(variable) {
38
38
39
39
function initParams ( ) {
40
40
if ( mobile ) {
41
- num_cells = 80 ;
41
+ num_cells = 100 ;
42
42
}
43
43
else {
44
- num_cells = 100 ;
44
+ num_cells = 130 ;
45
45
}
46
46
47
47
cell_length = Math . ceil ( canvas_width / num_cells ) ;
Original file line number Diff line number Diff line change @@ -201,10 +201,10 @@ function updateParams(variable) {
201
201
202
202
function initParams ( ) {
203
203
if ( mobile ) {
204
- n = 30 ;
204
+ n = 50 ;
205
205
}
206
206
else {
207
- n = 50 ;
207
+ n = 80 ;
208
208
}
209
209
cell_length = canvas_width / n ;
210
210
You can’t perform that action at this time.
0 commit comments