Skip to content

Commit bd73011

Browse files
committed
start stars from bottom
1 parent bb1889f commit bd73011

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/starry-backdrop.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ onMounted(async () => {
2626
.fill(0)
2727
.map(() => ({
2828
x: Math.random() * scaledWidth.value,
29-
y: Math.random() * scaledHeight.value,
29+
y: Math.random() * scaledHeight.value + scaledHeight.value - 20,
3030
size: Math.random() * 1.5 + 0.25,
3131
speedY: (Math.random() * 0.25 + 0.05) * pixelRatio.value,
3232
speedX: Math.random() * X_SPEED - X_SPEED / 2,

0 commit comments

Comments
 (0)