DEV Community

Cover image for 10 Cool CodePen Demos (October 2026)
Alvaro Montoro
Alvaro Montoro Subscriber

Posted on Originally published at alvaromontoro.com

10 Cool CodePen Demos (October 2026)

Inellipse

An inellipse is an ellipse that touches all three sides of the triangle it is contained in. Sophia (fractal kitty) used P5.js to generate this mesmerizing animation for Mathtober'26, with three inellipses moving inside spiraling triangles, in a canvas that expands and collapses continuously. And if you like it, press "s" to save.


Halloween BooScary with CSS random()

A version of the FizzBuzz algorithm with a Halloween; but instead of getting Fizzes, Buzzes, or FizzBuzzes, you'll get Boos, Scarys, or BooScarys (accompanied by "scary" emojis or bats) when you mouse over the floating numbers. And the best part: Chris Bolson coded it all in CSS, including the random position and animation of the numbers.


Atomic Kitchens of Tomorrow, by mail

Rob crafted this 60s-vibe futuristic kitchen catalog using HTML and CSS only. No images, no JavaScript. All the appliances? CSS. The popping signs? CSS. The forms? CSS. And it is interactive, too! Click on the checkboxes to customize your atomic kitchen and see how it animates.


GTA 6

While people were anxiously waiting for the new GTA6 game, Marlon Marcello created a version using JavaScript. Use the arrow keys to drive around this canvas generated city, pick the couriers, and deliver them at the dropzones while avoiding the cops... it may sound like an easy task, but this is no easy game (for real, I think the most I've done is one drop and it was by following all the rules.)


Procedurally generated landscape

Enjoy this animated flight over the sea and mountains in this digital landscape created by Lea Rosema. And don't worry about crashing or going through terrain, you'll bounce when an edge is detected, in a fun effect.


Toggle Switch with Legs

Jon Kantner brings a whimsical component (check his CodePen profile, he has a ton!). This time, it is an animated toggle button that will come to life and run and slide from one side to the other when it is activated. Amazing work.


CSS random() Scope {Study}

random() is available on Chrome and Safari (soon on Firefox too), and ycw created a chart with code examples of how things that required JavaScript in the past will be easily available in CSS now, and what needs to change, showcasing the powerful tool that the random functions are.


Comic with Effects

It is no secret that I like comic books and graphic novels, so this pen caught my attention immediately. With a static image as a base, Cliff Pyles, organizes the panels with HTML, and adds SVG and CSS to the mix to create an interactive experience that brings the comic to life. Superb demo, in which the real hero is the author.


capsule machine 2

If memory doesn't fail, a previous capsule demo by Masahito Leo Takeuchi made the list in the past. This time, a kawaii squirrel will grab the capsule from this vending machine before placing the reward at the top. This is as cute and entertaining as it an be, and all impressively coded in native languages.


Alone

An animation of a lone lighthouse weathering a storm and the ways in the middle of the ocean. This impressive world has an option to turn sound on or off (muted by default, thanks!). It was created by Hakan Yorganci using ThreeJS and WebGL.


Top comments (0)