MCPcopy Create free account
hub / github.com/pomber/code-surfer / halfFadeIn

Function halfFadeIn

packs/standalone/src/animation.ts:134–136  ·  view source on GitHub ↗
(offOpacity = 0)

Source from the content-addressed store, hash-verified

132}
133
134export function halfFadeIn(offOpacity = 0) {
135 return chain([[0.5, undefined], [1, fadeIn(offOpacity)]], { opacity: 0 });
136}
137
138export function halfFadeOut(offOpacity = 0) {
139 return chain([[0.5, fadeOut(offOpacity)], [1, undefined]]);

Callers 2

TitleFunction · 0.90
SubtitleFunction · 0.90

Calls 2

chainFunction · 0.85
fadeInFunction · 0.85

Tested by

no test coverage detected