-
-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
let i = 0;
for (const f of ['base', "lows", "mids", "highs"]) {
wave.addAnimation(new wave.animations.Turntable({
frequencyBand: f as "base" | "lows" | "mids" | "highs", // this can't be typed?
lineWidth: 4 - i,
lineColor: colors[i],
fillColor: colors[(i + 2) % 4],
cubeHeight: 10 * i,
count: 5 * (4 - i),
rounded: true,
glow: { strength: 15, color: colors[i] },
mirroredX: false,
diameter: 5
} as ITurntableOptions));
i++;
}
this type of code worked fine for glob, arcs, cube, and wave...but for turntable, i'm getting an infinite loop 100% cpu. any ideas what might trigger that? i'll dig around when i have some free time, but just wondering if you had a suggestion where to look in the source code.
Metadata
Metadata
Assignees
Labels
No labels