◀ VibeCruiser

vanilla.waves

A free animation — play it in your browser, no install. Pure mathematical waves for DOM objects.

by @seb-prjcts-be · seb-prjcts-be/vanilla.waves on GitHubLANG JavaScriptHOSTED ON SEB-PRJCTS-BE.GITHUB.IOUPDATED 9 Oct 2026

Made this, @seb-prjcts-be? See how many people played it → or use email

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

Pass a number in, get a number back. You can use the 35 wave formulas in vanilla.waves to change a bar's height, a colour or an element's position. Register an element type and mark it with data-wv; the DOM engine calls your update function in a shared 30 fps loop. Offscreen elements pause automatically.

The library uses the wave() and createSampler() math from p5.waves, with a DOM engine for plain HTML elements.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →