Skip to content

Commit

Permalink
deploy: 0beab2e
Browse files Browse the repository at this point in the history
  • Loading branch information
ricktu288 committed Oct 13, 2024
1 parent 5ecf8b4 commit 49ef4e4
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Simulator.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ <h1 class="page-title">Source: Simulator.js</h1>
B = 1 - Math.exp(-B);
}

return "rgb(" + (R * 100) + "%," + (G * 100) + "%," + (B * 100) + "%)";
return "rgb(" + Math.round(R * 255) + "," + Math.round(G * 255) + "," + Math.round(B * 255) + ")";

}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/sceneObjs_BaseGlass.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h1 class="page-title">Source: sceneObjs/BaseGlass.js</h1>
ctx.globalCompositeOperation = 'lighter';
var alpha = Math.log(n) / Math.log(1.5) * 0.2;
if (!canvasRenderer.isSVG) {
ctx.fillStyle = "rgb(" + (alpha * 100) + "%," + (alpha * 100) + "%," + (alpha * 100) + "%)";
ctx.fillStyle = "rgb(" + Math.round(alpha * 255) + "," + Math.round(alpha * 255) + "," + Math.round(alpha * 255) + ")";
} else {
ctx.globalAlpha = alpha;
ctx.fillStyle = "white";
Expand Down
Binary file added img_test/apparent-depth-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/apparent-depth.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/branched-flow-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/branched-flow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/chaff-countermeasure-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/chaff-countermeasure.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/rainbows-thumbnail.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_test/rainbows.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion simulator/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simulator/main.js.map

Large diffs are not rendered by default.

0 comments on commit 49ef4e4

Please sign in to comment.