Loading effect…
Loading preview…
scroll · html · free
Images spread out and drift along a path while you scroll through the story.
npx znverse add images-flowLoads gsap, lenis from a CDN.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Images Flow</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@200;300;400;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap" rel="stylesheet">
</head>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
Images spread out and drift along a path while you scroll through the story.
Copy the files in src/ into a static page. Everything runs in the browser with no build step.
Originally published at https://github.com/Hank-D-Tank/scroll-image-spread.