Skip to content

Commit

Permalink
chore: Adjust particle size
Browse files Browse the repository at this point in the history
  • Loading branch information
ContentsViewer committed Aug 31, 2024
1 parent f5a930a commit 28617bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloud-music-box",
"version": "0.14.0",
"version": "0.14.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
4 changes: 2 additions & 2 deletions src/components/dynamic-background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ const LissajousCurve = () => {
// gl_PointSize = 2.0 + 2.0 * smoothstep(0.0, 1.0, effectScale);
// gl_PointSize = 2.0 + 2.0 * effectScale;
// gl_PointSize = 4.0 * effectScale;
float pointSize = 4.0;
float pointSize = 3.0;
if (elapsed > 0.75) {
gl_PointSize = mix(4.0, 0.0, smoothstep(0.75, 1.0, elapsed));
gl_PointSize = mix(3.0, 0.0, smoothstep(0.75, 1.0, elapsed));
}
gl_PointSize = pointSize;
// gl_Position = projectionMatrix * mvPosition;
Expand Down

0 comments on commit 28617bb

Please sign in to comment.