Search
How to Unroll Images with Three.js
22.1.2020
Discover the basic concept behind an unrolling image effect using WebGL.
How to Unroll Images with Three.js was written by Yuriy Artyukh and published on Codrops
How to Turn a Procreate Drawing into a Web Animation
20.1.2020
I recently started drawing on my iPad using the Procreate app with Apple Pencil. I’m enjoying the flexibility of drawing this way. What usually keeps me from painting at home are basic things, like setup, cleaning brushes, proper ventilation, and other factors not really tied to the painting...
Animate Text on Scroll
13.1.2020
We covered the idea of animating curved text not long ago when a fun New York Times article came out. All I did was peek into how they did it and extract the relevant parts to a more isolated demo.
That demo is here:
See the Pen
Selfie Crawl by Chris Coyier (@chriscoyier)
...
How to Animate on the Web With Greensock
13.1.2020
There are truly thousands of ways to animate on the web. We’ve covered a comparison of different animation technologies here before. Today, we’re going to dive into a step-by-step guide of one of my favorite ways to get it done: using GreenSock.
(They don’t pay me or anything, I just really enjoy...
Playing with Texture Projection in Three.js
7.1.2020
In this tutorial, you'll learn how to project a texture onto an object in Three.js with some interesting examples.
Playing with Texture Projection in Three.js was written by Marco Fugaro and published on Codrops
UI Interactions & Animations Roundup #1
4.1.2020
The first roundup that collects inspirational UI interactions and animations.
UI Interactions & Animations Roundup #1 was written by Mary Lou and published on Codrops
How to Create the Apple Fifth Avenue Cube in WebGL
20.12.2019
A tutorial on how to re-create the Apple Fifth Avenue Cube animation using WebGL.
How to Create the Apple Fifth Avenue Cube in WebGL was written by Lorenzo Cadamuro and published on Codrops
Motion Paths – Past, Present and Future
6.12.2019
Cassie Evans has a great intro to motion paths. That is, being able to animate an element along a path. Not just up/down/left/right, but whatever curvy/wiggly/weird path you want.
It's an interesting subject because there are so many different technologies helping to do it over time. SMIL...
Motion Paths – Past, Present and Future
3.12.2019
The ability to animate along a motion path is a really useful thing to have in your SVG animation toolkit. Let's explore a few ways to achieve this, including the upcoming CSS motion path module and the newly released GSAP3.
Motion Paths – Past, Present and Future was written by Cassie Evans...
The New Features of GSAP 3
14.11.2019
Learn about all the exciting new features of GSAP 3 in this easy-to-follow overview.
The New Features of GSAP 3 was written by Christina Gorton and published on Codrops
Pac-Man… in CSS!
11.11.2019
You all know famous Pac-Man video game, right? The game is fun and building an animated Pac-Man character in HTML and CSS is just as fun! I’ll show you how to create one while leveraging the powers of the clip-path property.
See the Pen
Animated Pac-Man by Maks Akymenko (@maximakymenko)
...
The Trick to Animating the Dot on the Letter “i”
4.11.2019
Here’s the trick: by combining the Turkish letter "ı" and the period "." we can create something that looks like the letter "i," but is made from two separate elements. This opens us up to some fun options to style or animate the dot of the letter independently from the stalk. Worried about...
Are There Random Numbers in CSS?
29.10.2019
CSS allows you to create dynamic layouts and interfaces on the web, but as a language, it is static: once a value is set, it cannot be changed. The idea of randomness is off the table. Generating random numbers at runtime is the territory of JavaScript, not so much CSS. Or is it? If we factor in...
Collective #561
28.10.2019
Overview * Mobile-first animation * pack-spheres * Spectrum * History of grids * CLARO
Collective #561 was written by Pedro Botelho and published on Codrops
Digging Into the Preview Loading Animation in WordPress
22.10.2019
WordPress shipped the Block Editor (aka Gutenberg) back in version 5.0 and with it came a snazzy new post preview screen that shows the WordPress logo drawing itself while the preview loads.
That's what you get when saving a post draft and clicking the "Preview" button in the editor. How'd they...
How to Create Motion Hover Effects with Image Distortions using Three.js
21.10.2019
In this tutorial you will learn how to achieve interesting looking hover effects with image distortions using Three.js.
How to Create Motion Hover Effects with Image Distortions using Three.js was written by Niccolò Miranda and published on Codrops
Let’s Make a Fancy, but Uncomplicated Page Loader
15.10.2019
It’s pretty common to see a loading state on sites these days, particularly as progressive web apps and reactive sites are on the rise. It’s one way to improve "perceived" performance — that is, making it feel as though the site is loading faster than it actually is.
There’s no shortage of ways...
Stop Animations During Window Resizing
14.10.2019
Say you have page that has a bunch of transitions and animations on all sorts of elements. Some of them get triggered when the window is resized because they have to do with size of the page or position or padding or something. It doesn't really matter what it is, the fact that the transition...
Ghost Buttons with Directional Awareness in CSS
13.9.2019
It would surprise me if you'd never come across a ghost button 👻. You know the ones: they have a transparent background that fills with a solid color on hover. Smashing Magazine has a whole article going into the idea. In this article, we’re going to build a ghost button, but that will...
Using Custom Properties to Wrangle Variations in Keyframe Animations
12.9.2019
Have you ever wondered how to customize CSS animations keyframes without using any preprocessor feature, like mixins? I keep reaching for preprocessors for this reason, but it would so nice to drop yet one more dependency and go with vanilla CSS.
Well, I found a way to account for variations within...