From 994d4e4712ac7e76c39e0a1b356708d3e3b4c644 Mon Sep 17 00:00:00 2001 From: Scott Richmond Date: Fri, 11 Jul 2025 15:18:37 -0400 Subject: [PATCH] stop spamming console --- pkg/p5.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/p5.js b/pkg/p5.js index 8c92512..03acf1c 100644 --- a/pkg/p5.js +++ b/pkg/p5.js @@ -5,11 +5,11 @@ function states_to_call (prev, curr, call_stack) { // console.log(curr) let calls = [] if (prev.pendown && !eq_vect(prev.position, curr.position)) { - console.log("headings", prev.heading, curr.heading) - console.log("forward?", curr.forward) - console.log("#calls", call_stack.length) + // console.log("headings", prev.heading, curr.heading) + // console.log("forward?", curr.forward) + // console.log("#calls", call_stack.length) if (prev.heading == curr.heading && curr.forward && call_stack.length > 0) { - console.log("extending line!") + // console.log("extending line!") const [x, y] = sub(curr.position, prev.position) const last_call = call_stack.pop(); const new_call = ["line", last_call[1], last_call[2], x + last_call[3], y + last_call[4]]