MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / randomShell

Function randomShell

js/script.js:770–775  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

768}
769
770function randomShell(size) {
771 // Special selection for codepen header.
772 if (IS_HEADER) return randomFastShell()(size);
773 // Normal operation
774 return shellTypes[randomShellName()](size);
775}
776
777function shellFromConfig(size) {
778 return shellTypes[shellNameSelector()](size);

Callers

nothing calls this directly

Calls 2

randomFastShellFunction · 0.85
randomShellNameFunction · 0.85

Tested by

no test coverage detected