Skip to content

Commit d783696

Browse files
committed
refactoring paper
1 parent f196f5f commit d783696

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,15 @@ socket.on('mouseUp', (event) => {
8282
// The amount of circles we want to make:
8383
var count = 100;
8484

85-
8685
// Space Circle Path:
8786
var circlePath = new Path.Circle({
8887
center: [0, 0],
8988
radius: 10,
9089
fillColor: 'white',
9190
strokeColor: 'white',
91+
shadowColor: 'cyan',
92+
shadowBlur: 10,
93+
shadowOffset: [(Math.floor(Math.random() * 4) - 2), (Math.floor(Math.random() * 4) - 2)]
9294
});
9395

9496
var symbol = new Symbol(circlePath);

public/js/ui.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ var circlePath = new Path.Circle({
5050
radius: 10,
5151
fillColor: 'white',
5252
strokeColor: 'white',
53+
shadowColor: 'cyan',
54+
shadowBlur: 10,
55+
shadowOffset: [(Math.floor(Math.random() * 4) - 2), (Math.floor(Math.random() * 4) - 2)]
5356
});
5457

5558
var symbol = new Symbol(circlePath);

0 commit comments

Comments
 (0)