p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. Looking for p5.js 2.0? http://beta.p5js.org

A new way for AI to search for data
View on GitHub
24,264GitHub stars
17,809commits on main
3,884forks
v2.3.4latest release, 2026-09-25

JavaScript 71.8%, Markdown 24.9%, HTML 2.5%, GLSL 0.7% · created 2013-02-26 · last push 2026-10-29

What XERJ indexed

Snapshot

Whole repository

The whole repository at commit 4374918012 (2026-10-22). main is 135 commits ahead.

Selected work

bhabishnu
@bhabishnu

“address addon helper review feedback”. 7 files, 709 lines in test, src/strands, src/webgpu.

Licence

The repository

LGPL-2.1

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-25. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

javascriptgraphicseducationlearningartdesignsoundhtml

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported LGPL-2.1 for processing/p5.js on 2026-10-29, and the LICENSE file at commit 4374918012 was reviewed as LGPL-2.1. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

bhabishnu (@bhabishnu) has 1 selected repository on the hub.

Using XERJ with p5.js

The prompt

Paste it into your AI agent. It clones processing/p5.js at the pinned commit and indexes it on your machine.

Search the GitHub repository processing/p5.js with XERJ (https://hub.xerj.org/corpus/processing--p5-js).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/processing/p5.js p5.js && git -C p5.js checkout 4374918012201c83e302e9930b7edcbb0b480400
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./p5.js --url http://127.0.0.1:9200 --prefix p5-js --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: LGPL-2.1. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-29. Selected work and consent: the XERJ registry.