Skip to content

Commit

Permalink
Fix star space animation & Supported browsers documentation
Browse files Browse the repository at this point in the history
Signed-off-by: yjf2002ghty <[email protected]>
  • Loading branch information
yjf2002ghty committed Nov 21, 2024
1 parent 8924a74 commit c5f47ac
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,23 @@ Enjoy!

## Supported Browsers

Most modern browsers should work, such as Google Chrome, Mozilla FireFox, Microsoft Edge, Apple Safari.
Older browsers like Internet Explorer of any version are not supported.
### Full Support

- Google Chrome
- Microsoft Edge
- Mozilla Firefox

### Limited Support

- Apple Safari

### No Support

- Microsoft Internet Explorer
- Opera Browser
- Brave Browser

Support for browsers not mentioned above are not clear. You need to check it yourself.

## Run Engines Remotely

Expand Down
6 changes: 4 additions & 2 deletions src/js/particles-stars.canvas.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,11 @@ class CanvasHandler {
this.MaxZ - this.PointGenerationBufferHeight - 100
) {
this.CanvasContext.globalAlpha =
(this.GlobalAlpha *
(((this.GlobalAlpha *
(this.MaxZ - this.PointGenerationBufferHeight - selected.Z)) /
100;
100) *
(EndFrame - this.FrameCounter)) /
EndFrame;
} else if (selected.Z < this.MinimumZ + 100) {
this.CanvasContext.globalAlpha =
(((selected.Z - this.MinimumZ) / 100) *
Expand Down

0 comments on commit c5f47ac

Please sign in to comment.