PC styles nearly done

This commit is contained in:
Schmelczer András 2019-12-26 10:36:46 +01:00
parent da9d0a1136
commit 79f7c4c16f
25 changed files with 221 additions and 208 deletions

View file

@ -62,9 +62,9 @@ export class PageBackground extends PageElement {
generate(
count,
() => choose(this.colors, random),
() => randomInInterval(150, 750, random),
() => randomInInterval(160, 750, random),
() => {
const z = randomInInterval(-5, -15, random);
const z = randomInInterval(-12, -25, random);
return `
translateX(${randomWithKnownZ(-z, width)}px)
translateY(${randomWithKnownZ(-z, height)}px)