◀ VibeCruiser

p5.mbt

A free generative art piece — play it in your browser, no install. p5.js ported to MoonBit: 2D creative coding on the JS backend

by @bobzhang · bobzhang/p5.mbt on GitHubLANG MoonBitHOSTED ON MOONCAKES.IOUPDATED 16 Nov 2026

Made this, @bobzhang? See how many people played it → or use email

Controls: Mouse

▶ 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

A port of p5.js to MoonBit, running on MoonBit's JavaScript backend and drawing on an HTML canvas.

It covers the 2D core of p5.js 2.x: the setup/draw lifecycle, shapes and custom shapes, color (including p5 2.x's color spaces), transforms, typography, images and pixels, events, math (vectors, noise, random), DOM helpers, and data loading. The algorithms follow the p5.js sources closely: random()/noise() produce the same numbers as p5.js for the same seed, and shapes go through a port of p5 2.x's Shape → Path2D pipeline.

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 →