p5.js-website icon indicating copy to clipboard operation
p5.js-website copied to clipboard

Last example in createCapture() docs is not showing preview

Open doradocodes opened this issue 7 months ago • 2 comments

Most appropriate sections of the p5.js website?

Reference

What is your operating system?

Mac OS

Web browser and version

No response

Actual Behavior

The last example in the createCapture documentation page is not showing the preview of the sample code: https://p5js.org/reference/p5/createCapture/

Image

This issue was found while looking at PR #1289. While testing this change, I noticed that the preview does appear on the 2.0 branch, but not in the main branch.

Expected Behavior

Image

The preview (showing the webcam live stream) should showing next to the example code (this is a screenshot of it working on the 2.0 branch).

Steps to reproduce

No response

Would you like to work on the issue?

This should be assigned to someone else.

doradocodes avatar Apr 27 '26 16:04 doradocodes

@aashu2006 Here is the new issue created from the bug we found on your previous PR. Let us know if you'd like to look into this.

doradocodes avatar Apr 27 '26 16:04 doradocodes

Thanks @doradocodes, sure I would like to take it up!

aashu2006 avatar Apr 27 '26 17:04 aashu2006