MCPcopy Create free account
hub / github.com/continuedev/continue / generateDensityFrame

Function generateDensityFrame

extensions/cli/src/ui/LoadingAnimation.tsx:17–23  ·  view source on GitHub ↗
(dotCount: number)

Source from the content-addressed store, hash-verified

15
16// Function to generate frame with specific dot density
17const generateDensityFrame = (dotCount: number): string => {
18 const chars = BRAILLE_BY_DENSITY[Math.min(8, Math.max(0, dotCount))];
19 return Array.from(
20 { length: 3 },
21 () => chars[Math.floor(Math.random() * chars.length)],
22 ).join("");
23};
24
25// Helper function to generate eased static fade animation with full timing control
26const generateEasedStaticFade = (

Callers 1

generateEasedStaticFadeFunction · 0.85

Calls 1

fromMethod · 0.80

Tested by

no test coverage detected