diff --git a/js/Plane.js b/js/Plane.js index c71adf7..af58170 100644 --- a/js/Plane.js +++ b/js/Plane.js @@ -4,7 +4,6 @@ import { textureGradient } from "./utils.js"; export class Plane extends Element { constructor(width, height, color1, color2) { super(); - console.log(width, height); const Tcolor1 = new THREE.Color(color1); const Tcolor2 = new THREE.Color(color2); diff --git a/js/utils.js b/js/utils.js index 81deb74..a32c61b 100644 --- a/js/utils.js +++ b/js/utils.js @@ -4,7 +4,6 @@ export const textureGradient = (width, height, color1, color2) => { const ctx = cnv.getContext("2d"); ctx.rect(0, 0, cnv.width, cnv.height); - console.log(width, height); const gradient = ctx.createLinearGradient(0, 0, width / 4, 15 * height); gradient.addColorStop(0, color1); gradient.addColorStop(1, color2);