processing / processing/p5.js-website
Sketch detail pages: OpenProcessing embeds stuck in loading state, never render
@rushdarshan is already working on this.
Since Apr 7, 2026.
- Dominant language
- MDX
- Stars
- 96
- Forks
- 322
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 8
Description
Most appropriate sections of the p5.js website?
Community (Sketches, Libraries, Events)
What is your operating system?
None
Web browser and version
No response
Actual Behavior
On all sketch detail pages (/sketches/{id}), the embed area displays a loading
spinner indefinitely. The sketch content never renders and no error message is shown.
Tested on:
- https://p5js.org/sketches/2690038/ ("Feelings make us human")
- https://p5js.org/sketches/2484739/ ("All you need is infinite love!")
- https://p5js.org/sketches/2689119/ ("Boiling Point")
All three reproduce the same failure consistently.
Expected Behavior
The embedded sketch should render in the embed area, or a graceful fallback
should be shown if the embed fails to load.
Steps to reproduce
- Open any sketch detail page e.g. https://p5js.org/sketches/2690038/
- Wait for the page to fully load
- Observe the embed area — loading spinner appears and never resolves
Root cause: iframe elements are missing sandbox and allow attributes,
which blocks OpenProcessing's embed scripts from executing.
Would you like to work on the issue?
Yes, I have a fix ready and can open a PR immediately.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.