Skip to content
Let's talk

Case study · 2025

Circle Reveal on Scroll

A circular clip path that opens one scene onto another.

Year
2025
Role
Creative coding experiment
Stack
HTML, CSS, JavaScript, GSAP ScrollTrigger
Live site
paraschaturvedi.github.io (opens in a new tab)
Circle Reveal on Scroll experiment: a snow capped mountain hero section before the reveal

Highlights

  • Hero section pinned with GSAP ScrollTrigger for twice the viewport height
  • A clip path circle grows from 0 to 150 percent, revealing the second image
  • Scrub set to 3, so the reveal eases after the scrollbar instead of jumping

1 min readUpdated

Here the page holds still while you keep scrolling. The first section is a full screen mountain photo, and a second image layer sits exactly on top of it. That top layer starts hidden behind a CSS clip path set to a circle with a radius of zero.

GSAP ScrollTrigger pins the hero for a scroll distance of twice the viewport height, and a timeline grows the circle to 150 percent over that distance. As you scroll, a hole opens in the middle of the screen and widens until the second image covers everything. Once the circle is fully open the pin releases and the next section scrolls in normally.

I set scrub to 3 rather than true. That makes the animation take about three seconds to catch up with the scrollbar instead of matching it instantly, which smooths out jerky trackpad and mouse wheel input.