summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/background-sparkles.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/background-sparkles.js b/js/background-sparkles.js
index bce6b94..50f073c 100644
--- a/js/background-sparkles.js
+++ b/js/background-sparkles.js
@@ -12,9 +12,9 @@ var pattern = Trianglify({
width: window.innerWidth,
x_colors: ['#040404', '#f9f9f9', '#fffff4', '#fbf7f5', '#d55454'], // Cappuccino: ['#854442', '#3c2f2f', '#fff4e6', '#be9b7b', '#4b3832']
y_colors: ['#f9f1f1', '#f9f9f9', '#fffff4', '#fbf7f5', '#f9f1f1'], // Random colour generator: "#"+((1<<24)*Math.random()|0).toString(16)
- variance: 10,
+ variance: 10, // Gives it more style
seed: Number.parseInt(Math.floor(Math.random() * 100)), // TODO: Live seed transitioning.
- cell_size: 160
+ cell_size: 160 // Cell size
});
// // Canvas