|
@@ -200,7 +200,7 @@ for (var i = 0; i < maxStars; i++) {
|
|
function animation() {
|
|
function animation() {
|
|
ctx.globalCompositeOperation = 'source-over';
|
|
ctx.globalCompositeOperation = 'source-over';
|
|
ctx.globalAlpha = 0.8;
|
|
ctx.globalAlpha = 0.8;
|
|
- ctx.fillStyle = 'rgb(39,48,123)';
|
|
|
|
|
|
+ ctx.fillStyle = 'rgba(39,48,123,0.2)';
|
|
ctx.fillRect(0, 0, w, h)
|
|
ctx.fillRect(0, 0, w, h)
|
|
|
|
|
|
ctx.globalCompositeOperation = 'lighter';
|
|
ctx.globalCompositeOperation = 'lighter';
|