commented some consolelog

This commit is contained in:
2024-10-03 21:21:31 +02:00
parent c90baf9a31
commit b988b43a66
2 changed files with 11 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ export default {
// let hue = Math.floor(Math.random()*360)
for (let j = 0; j < num_colors; j++) {
let pos = (1/num_colors*j + 1/num_colors/3 + Math.random()*1/num_colors/3)*100;
console.log('gradient pos', pos);
// console.log('gradient pos', pos);
colors.push({
color: this.getRandBGColor(),
@@ -43,7 +43,7 @@ export default {
// })
gradients.push(colors)
}
console.log('gradients', gradients);
// console.log('gradients', gradients);
let cssgrad = '';
gradients.forEach((gradient, index) => {
@@ -55,7 +55,7 @@ export default {
cssgrad += index < gradients.length-1 ? '),' : ')';
});
// cssgrad += ';';
console.log('cssgrad', cssgrad);
// console.log('cssgrad', cssgrad);
gradientBackground.style.background = cssgrad;
},
getRandBGColor (hue) {