This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"objects": [ | |
{ | |
"name": "Frame 13834", | |
"visible": true, | |
"locked": false, | |
"attachedConnectors": [], | |
"componentPropertyReferences": null, | |
"opacity": 1, | |
"blendMode": "PASS_THROUGH", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = Data({ | |
// Arrival flag so we know when to stop our global timer | |
hasArrived: false, | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function timer(timestamp) { | |
console.log("The current time is: ", timestamp) | |
window.requestAnimationFrame(timer) | |
} | |
window.requestAnimationFrame(timer) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ProgressBar(): Override { | |
const getProgressBarWidth = transform([0, 48000], [48, 375], { | |
ease: t => t, | |
}) | |
return { | |
width: `${getProgressBarWidth(data.elapsedMs)}px`, | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = Data({ | |
elapsedMs: 0, | |
}) | |
let startTime = null | |
function timer(timestamp) { | |
if (!startTime) startTime = timestamp | |
data.elapsedMs = timestamp - startTime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const data = Data({ | |
elapsedMs: 0, | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ArtistName(): Override { | |
const opacity = useTransform(scrollDistance, [0, -224], [1, 0], { | |
ease: bezierCurve, | |
}) | |
const scale = useTransform(scrollDistance, [0, -224], [1, 0.85], { | |
ease: bezierCurve, | |
}) | |
return { | |
opacity, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ArtistName(): Override { | |
const opacity = useTransform(scrollDistance, [0, -224], [1, 0]) | |
const scale = useTransform(scrollDistance, [0, -224], [1, 0.85]) | |
return { | |
opacity, | |
scale, | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ArtistName(): Override { | |
const opacity = useTransform(scrollDistance, [0, -224], [1, 0]) | |
return { | |
opacity, | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function ArtistName(): Override { | |
let opacity = 1 | |
return { | |
opacity: opacity, | |
} | |
} |
NewerOlder