🌐 日本語 | English

🎆 p5js Fireworks - Participation Guide

🗒️ What is this?

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.

View the Gallery


📆 Event Period

Until 2026/08/31 (JST)


🔷 Rules

ItemDetails
p5.js version2.3.0
Canvas size400 x 800 px
*A shared frame image (shown below) is drawn on top of the canvas.
Frame rate30fps (set automatically by the system)
DurationAuto-stops after 300 frames (approx. 10 seconds) or 15 seconds of execution, whichever comes first.
ThemeFireworks (interpret freely!)
OtherEach 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.

Frame image

🎨 How it works (overview)

Your sketch is played as follows:

  1. The previous person's sketch finishes
  2. Your setup() is called once (initialization)
  3. Your sketch fades in via crossfade (draw() is not running yet)
  4. After the crossfade completes, draw() is called 300 times (approx. 10 seconds)
  5. After draw() has been called 300 times, or 15 seconds have passed, it auto-stops and transitions to the next sketch

🖼️ About createCanvas

Submitted sketches run with createCanvas(400, 800) or createCanvas(400, 800, WEBGL). Any other createCanvas() in your code will be automatically replaced by the system.

🎞️ About frameRate

Submitted sketches automatically have frameRate(30) applied. Any other frameRate() in your code will be automatically removed by the system.

⛔ Prohibited

🚨 Works deemed inappropriate will be removed by the administrator.

📮 How to Submit

No Git knowledge required. Anyone with a GitHub account can submit.

📝 Steps

  1. Test your code in the Playground
  2. Open the submission page
  3. Fill in the following:
    • Title — name of your work
    • Author — display name (nicknames OK)
    • Code — your p5.js sketch code
    • Icon image (optional) — displayed next to your work (max 200KB)
  4. Click "Create"
  5. Wait for the automated check:
    • Once the Issue page appears, your submission is complete.
    • Within a few minutes, your code will be automatically checked. If there are no issues, your work will be added to the gallery. You'll receive an email with the result, so please check it.
  6. Done!

⚠️ Notes


✏️ Update / Delete

🔄️ To update

Simply resubmit using the same steps. Your previous work will be overwritten.

🗑️ To delete

  1. Open the deletion page
  2. Check the confirmation box and submit
  3. Your work will be removed and you can submit again

▶️ Testing

You can test your code before submitting. We provide a page that runs in the same environment as production.

Open Playground


🌟 Tips


❓ FAQ

Q: 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.)