From c0d1a3cd748367b0dcd98e7f62706e9abf7f1936 Mon Sep 17 00:00:00 2001 From: Tymoteusz Burak Date: Sat, 22 Feb 2025 03:28:30 +0100 Subject: [PATCH] sketch.js: fix light angle so it aligns with original idea --- sketch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sketch.js b/sketch.js index f860383..63d15ef 100644 --- a/sketch.js +++ b/sketch.js @@ -172,12 +172,12 @@ function draw() { directionalLight( 210, 0, 255, // color - 180, 180, 0 // direction + -180, 180, 0 // direction ); directionalLight( 0, 255, 180, // color - -180, -180, 0 // direction + 180, -180, 0 // direction ); // Update the onion object