Skip to content

Commit 39ecb1f

Browse files
authored
fixed formatting
1 parent 240dbc3 commit 39ecb1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripty-bipty.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ canvas.height = window.innerHeight;
66
//draws pretty stars for the background!
77
function getRandom(min, max) {
88
return Math.floor(Math.random() * (max - min + 1)) + min;
9-
}
10-
var canvas = document.getElementById("starfield"),
11-
context = canvas.getContext("2d"),
12-
stars = 500,
13-
colorrange = [0,60,240];
14-
for (var i = 0; i < stars; i++) {
9+
}
10+
var canvas = document.getElementById("starfield"),
11+
context = canvas.getContext("2d"),
12+
stars = 500,
13+
colorrange = [0,60,240];
14+
for (var i = 0; i < stars; i++) {
1515
var x = Math.random() * canvas.offsetWidth;
1616
y = Math.random() * canvas.offsetHeight,
1717
radius = Math.random() * 1.2,

0 commit comments

Comments
 (0)