From 5f446270759bfcf1491f2adbac3a78ad1dbfca87 Mon Sep 17 00:00:00 2001 From: Maya Rajan Date: Fri, 22 Nov 2024 19:47:00 -0500 Subject: [PATCH] more --- extensions/src/doodlebot/Doodlebot.ts | 2 +- extensions/src/doodlebot/LineFollowing.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/src/doodlebot/Doodlebot.ts b/extensions/src/doodlebot/Doodlebot.ts index c115994b5..a08638916 100644 --- a/extensions/src/doodlebot/Doodlebot.ts +++ b/extensions/src/doodlebot/Doodlebot.ts @@ -655,7 +655,7 @@ export default class Doodlebot { let first = true; const delay = 0.5; const previousSpeed = 0.1; - const interval = 300; // 1/15th of a second + const interval = 350; // 1/15th of a second let prevRadius; let prevAngle; let lineData diff --git a/extensions/src/doodlebot/LineFollowing.ts b/extensions/src/doodlebot/LineFollowing.ts index 366470135..6d7dea6d5 100644 --- a/extensions/src/doodlebot/LineFollowing.ts +++ b/extensions/src/doodlebot/LineFollowing.ts @@ -710,7 +710,7 @@ export function followLine(previousLine: Point[], pixels: Point[], next: Point[] // } let command = createArcFromPoints(bezier.points[0], bezier.get(0.5), bezier.get(1)); - command.angle = command.angle*4; + command.angle = command.angle/2; // if (command.radius > 50) { // command = {radius: Infinity, angle: 0, distance: 0.03} // }