8000 No More Sin Wave · snojs/snojs.github.io@37a1b73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37a1b73

Browse files
No More Sin Wave
1 parent 0ff72cd commit 37a1b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
for(var i = 0; i < mp; i++){
179179
var p = particles[i];
180180
p.y += Math.cos(angle+p.d) + 1 + p.r/2;
181-
p.x += Math.sin(angle) * 2;
181+
p.x += -2;
182182
if(p.x > W+5 || p.x < -5 || p.y > H){
183183
if(i%3 > 0){particles[i] = {x: Math.random()*W, y: -10, r: p.r, d: p.d};}
184184
else{

0 commit comments

Comments
 (0)
0