Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
mayarajan3 committed Nov 23, 2024
1 parent 604964a commit 5f44627
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extensions/src/doodlebot/Doodlebot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion extensions/src/doodlebot/LineFollowing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
// }
Expand Down

0 comments on commit 5f44627

Please sign in to comment.