processing / processing/p5.js-website

Last example in createCapture() docs is not showing preview

Open
#1,366 2 comments 0 reactions 1 assignee View on GitHub

@aashu2006 is already working on this.

Since Apr 29, 2026.

Bug
Dominant language
MDX
Stars
96
Forks
322
Avg merge
5d 22h
Merged PRs (30d)
8

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.