Made the menu background scroll slightly faster.

This was SVN commit r10938.
This commit is contained in:
Michael D. Hafer 2012-01-20 23:21:27 +00:00
parent c7baf204e7
commit 23959ec119

View File

@ -34,7 +34,7 @@ function scrollBackgrounds(background)
var w = h*16/9; // width of background image
// Offset the layers by oscillating amounts
var t = (t0 - new Date) / 1000;
var t = (t0 - new Date) / 700;
var speed = 1/20;
var off1 = 0.02 * w * (1+Math.cos(t*speed));
var off2 = 0.12 * w * (1+Math.cos(t*speed)) - h*6/9;