A photograph of Duncan giving this talk.

hello!

This website contains slides and demos for a long-winded performance lecture about requestAnimationFrame that I (Duncan) gave at Web Dev Conf in October, 2026, and London Web Standards in November, 2026.



This is what the talk is (ostensibly) about:

Animating on the web has never been easier. But what if you want to make life difficult for yourself?

In this introduction to requestAnimationFrame, we’ll throw away the conveniences of modern life and learn how to build frame-based animations from the ground up. There will be cursor effects, spring physics, and, as if live demos aren’t scary enough, we’ll put an itsy-bitsy spider on the world wide web.



Click here to go through the slides yourself. Use your left and right arrow keys to navigate.

If you haven’t seen the talk, the slides will be confusing! You can watch a recording on YouTube.

A screenshot of a spring chicken, ready for action.

playground

I’ve also put together a few demos of the things we build during the talk:

A screenshot of the wikipedia page for Arachnophobia, covered with pixelated spiders.

spiders?

At the end of the talk, I show a website and browser extension that brings spiders to the world wide web. The website, spiders.duncanpetrie.com, is a little playground where you can be a spider. The site is multiplayer, so bring your friends! If you get close enough together, you’ll start kissing (this is not a joke).

The browser extension lets you take your spider on the go, to any website you visit. It can also periodically spawn spiders to run across your screen. This is a fun addition to the web browsing experience, and does not activate your fight-or-flight instincts.

A baby on a computer.

Thanks for visiting! For more about me (pictured above), see my website, duncanpetrie.com.

Want me to speak at your event? Or collaborate on something? Get in touch via email, bluesky, or instagram. I’d love to hear from you!