Skip to content

Commit

Permalink
feat: more pixels
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoudan committed Aug 28, 2023
1 parent 16067ef commit 4da1995
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h1>Eulerian Fluid Simulation</h1>
</div>

<div>
<canvas id="canvas" style="border:2px solid" width="800" height="400"></canvas>
<canvas id="canvas" style="border:2px solid" width="1600" height="600"></canvas>
</div>

</body>
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import('./pkg')
var domainWidth = domainHeight * aspectRatio;
console.log("domainWidth: " + domainWidth + " domainHeight: " + domainHeight);

var h = domainHeight / 100.;
var h = domainHeight / 150.;

var numX = Math.floor(domainWidth / h);
var numY = Math.floor(domainHeight / h);
Expand Down

0 comments on commit 4da1995

Please sign in to comment.