You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: