Skip to content

Instantly share code, notes, and snippets.

View gavin-hall's full-sized avatar

Gavin Hall gavin-hall

View GitHub Profile
@gavin-hall
gavin-hall / index.pug
Created November 22, 2022 03:36
Only CSS: 3D Scan
.container
- for (i = 0; i < 400; i++)
.trigger
.monitor
.camera.o-x
.camera.o-y
.camera.o-z
.vr
- for (i = 0; i < 20; i++)
.vr_layer
@gavin-hall
gavin-hall / anime-js-scrollmagic-scroll-based-animations.markdown
Created November 22, 2022 03:30
Anime.js + ScrollMagic Scroll Based Animations

Anime.js + ScrollMagic Scroll Based Animations

A example of using ScrollMagic to trigger Anime.js animations. Some of the animations are set to play when triggered and some are set to progress as the user scrolls the page.

A Pen by Rex Bullington on CodePen.

License.

@gavin-hall
gavin-hall / css-gooey-menu-version-2.markdown
Created June 27, 2022 20:38
CSS Gooey Menu (Version 2)
@gavin-hall
gavin-hall / bbc-13-minutes-to-the-moon.markdown
Created February 5, 2022 19:55
BBC - 13 Minutes to the Moon
@gavin-hall
gavin-hall / animated-navigation.markdown
Created February 5, 2022 19:28
Animated Navigation
@gavin-hall
gavin-hall / animated-svg-text-mask-greensock.markdown
Created February 5, 2022 19:23
Animated SVG text mask | Greensock
@gavin-hall
gavin-hall / browser-scrollbar-controls-timelinelite-animation.markdown
Created February 5, 2022 19:22
Browser Scrollbar Controls TimelineLite Animation

Browser Scrollbar Controls TimelineLite Animation

This is a test showing how the browser's vertical scrollbar can control a Greensock TimelineLite animation.

A Pen by Adrian Parr on CodePen.

License.

@gavin-hall
gavin-hall / index.html
Created February 5, 2022 19:22
Simple ScrollMagic Tutorial
<section id="one">
<div class="inner innerS1">
<h1>Simple ScrollMagic Tutorial</h1>
<p>Learn how to create a <strong>simple scrolling website</strong> using ScrollMagic</p>
</div>
</section>
<section id="two">
<div class="innerText innerS2">
<h2>Why to learn ScrollMagic?</h2>
<ul class="features">