p5js WEBGL textureWrap can't collaborate with video streaming
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 24k
- Forks
- 3.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 25
Description
I recently created a video streaming sketch with p5js WEBGL. The content of the code is: create video capture, then render it on a cube as texture, and then share it with other clients using this library p5LiveMedia.
When I finish, I try to view the video capture on two different tabs, but the video was not successfully rendered on Chrome. At first, I thought it was a problem with the browser, because it worked on safari, but error line is showing on neither browser's console.
Eventually, I found that it was because I used this line: texture mode (REPEAT);
The problem is solved, but does anyone know why might this happen?
This is my project demo, you are welcome to experience it:
https://editor.p5js.org/hershey_zhang/sketches/lK4ZpM1hA
Contributor guide
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.
Research direction
Start by running the linked demo in Chrome and Safari, then inspect the WEBGL textureWrap(REPEAT) path alongside video capture and p5LiveMedia. Done means the interaction causing video rendering to fail is reproduced, its browser-specific behavior is understood, and the issue has a documented resolution or fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100