An online gallery where everyone contributes 10-second "fireworks" animations made with p5.js, played back-to-back with crossfade transitions in random order.
Once submitted, your fireworks will be displayed alongside other participants' works in a continuous loop.
Until 2026/08/31 (JST)
| Item | Details |
|---|---|
| p5.js version | 2.3.0 |
| Canvas size | 400 x 800 px *A shared frame image (shown below) is drawn on top of the canvas. |
| Frame rate | 30fps (set automatically by the system) |
| Duration | Auto-stops after 300 frames (approx. 10 seconds) or 15 seconds of execution, whichever comes first. |
| Theme | Fireworks (interpret freely!) |
| Other | Each sketch runs in a sandbox environment. External communication and file loading are not available. |
During playback, the following shared frame image is overlaid on top of the canvas.
Your sketch is played as follows:
setup() is called once (initialization)draw() is not running yet)draw() is called 300 times (approx. 10 seconds)draw() has been called 300 times, or 15 seconds have passed, it auto-stops and transitions to the next sketchSubmitted sketches run with createCanvas(400, 800) or createCanvas(400, 800, WEBGL). Any other createCanvas() in your code will be automatically replaced by the system.
Submitted sketches automatically have frameRate(30) applied. Any other frameRate() in your code will be automatically removed by the system.
loadImage(), loadSound(), loadFont() and other external file loadingfetch(), XMLHttpRequest, WebSocket and other network communicationeval(), Function() and other dynamic code executionimport, require module loadingwindow.open(), AudioContext and other browser APIsNo Git knowledge required. Anyone with a GitHub account can submit.
Simply resubmit using the same steps. Your previous work will be overwritten.
You can test your code before submitting. We provide a page that runs in the same environment as production.
frameCount runs from 1 to 300 — use it for time-based animationsframeRate(30) to your setup().background(0, 0, 0, 20); creates a trail effect (firework tails linger)colorMode(HSB) makes it easy to create vibrant colors using huenoise() and random() add organic movementQ: Can I just join without asking?
A: Yes! Anyone who can write p5.js is welcome.
Q: I included createCanvas() or frameRate() — is that OK?
A: No problem. The system removes them automatically.
Q: What happens after 300 frames?
A: The animation stops automatically and crossfades to the next sketch.
Q: I want to fix my sketch
A: Just resubmit — it will overwrite the previous version.
Q: My submission was rejected
A: The error details are posted as a comment on the Issue. Fix and resubmit.
Q: Can my sketch affect others?
A: No. Each sketch runs in an isolated iframe.
Q: I have questions or feedback
A: Contact @Hau_kun or comment on Issues.
Q: I found a security vulnerability!
A: Please submit a pull request! (Merges are reviewed by the admin.)