
Description
q5 is a beginner-friendly 2D graphics library for the web, powered by WebGPU and built for creative coding and interactive art. The project says it was designed to make creative coding fun and accessible for educators, designers, artists and beginners. Version 4 introduces a sketch format that needs no preload or setup functions. The site compares it with p5.js on Canvas2D and WebGL, and its feature table says q5 includes a built-in video recorder, built-in display modes, sound playback, HiDPI scaling and HDR colors by default, and fast SDF shape rendering. Addons extend it. p5.sound adds audio generation, signal analysis and mixing, q5play adds Box2D physics, better input handling, a camera and animations, and ml5.js adds hand tracking, face detection and body pose estimation. You can start coding without installing anything in the q5 Web Editor, or use the library offline by loading it from the project's link. The project is free and open source, supported through Ko-fi, Patreon and GitHub Sponsors, and creations are shared on a Discord server.…
Highlights
- WebGPU 2D graphics for beginners
- Sketch format with no preload or setup
- Built-in video recorder and sound playback
- Addons for physics, sound and AI vision
- Web editor with no installation
Ratings & Reviews
No ratings yet
Be the first to rate Q5.js.
People also visit
Aseprite AI Artist
Your coding agent paints pixel art in the Aseprite window you already have open
Q5.js FAQ
What is q5?
A beginner-friendly 2D graphics library for the web, built on WebGPU and aimed at interactive art.
Is q5 free?
Yes. The project says it is 100% free and open source.
How do I start?
Use the q5 Web Editor, which needs no installation, or load the library and use it offline.
What addons are there?
p5.sound for audio, q5play for Box2D physics, input, a camera and animations, and ml5.js for hand tracking, face detection and pose estimation.
How does it compare with p5.js?
The site's comparison says q5 includes a video recorder, display modes, sound playback and HiDPI scaling by default, which p5 needs addons or custom code for.
What are the best Q5.js alternatives?
Popular alternatives to Q5.js include NVIDIA Canvas, Painting Droid and Aseprite AI Artist. See all Q5.js alternatives






