← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
p5.js architecture
Changing src/core/constants in p5.js reaches 72 modules. 36 files call it directly. Snapshot c60c735.
The first file to open in p5.js is src/core/constants. A change there reaches 72 of 155 modules.
This lead file reaches 46% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: p5.js · Score: 91.6/100 (Excellent architecture) · 155 modules · 412 edges · JavaScript · 23 of 43 · Language score median 91.7
- Cycles
- 10
- Duplicate authorities
- 2
- God modules
- 4
- Layer violations
- 0
arc impact src/core/constantsUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/p5/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
p5.js · c60c735
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | src/ concentrates too many responsibilities, shared utility hub | 36 | 72 | 46% |
| 2 | src/ concentrates too many responsibilities, shared utility hub | 17 | 46 | 30% |
| 3 | src/ | 8 | 43 | 28% |
| 4 | src/ | 7 | 43 | 28% |
| 5 | src/ | 8 | 42 | 27% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | src/ | 7 | 33 | 21% |
| 7 | src/ | 7 | 33 | 21% |
Circular dependencies
This snapshot records 10 dependency cycles.
Roles
- src/
strands/ ir_types — concentrates too many responsibilities
Nearby proofs
- Knex architecture 96.4/100 · 146 modules
- Stylus architecture 85.1/100 · 140 modules
- jQuery architecture 94.4/100 · 138 modules
Snapshot notes
In processing p5, a change that begins in src constants keeps traveling until it reaches math p5.Vector, with color p5.Color as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark cafddaedca.
color creating_reading is worth opening beside src constants because friendly_errors fes still participates when color creating_reading moves, and src p5.Renderer stays in view for processing p5, snapshot mark cafddaedca.
Review image p5.Image only after math p5.Vector and strands ir_types are both on the table, since the link from src constants back to color p5.Color belongs to processing p5 under snapshot mark cafddaedca.
math p5.Vector and color p5.Color are later stops, and a reviewer who has already seen src constants should still look at color creating_reading before treating the ROOT_CLUSTER group as understood for processing p5, snapshot mark cafddaedca.
friendly_errors fes closes the file list after src p5.Renderer and src constants, which keeps the processing p5 note tied to snapshot mark cafddaedca, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- ROOT_CLUSTER (98 modules)
- src-accessibility (6 modules)
- svg-svg_recorder (3 modules)
- strands-strands_node (20 modules)
- src-utilities (4 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in processing p5: src constants?
- Start with src constants, because the rest of the processing p5 walk leaves from that file and math p5.Vector is the next file in the same review. Commit cafddaedca records it.
- What else is on the processing p5 walk besides src constants and color p5.Color?
- color p5.Color and color creating_reading stay on the walk with friendly_errors fes, which are different files from src constants inside the ROOT_CLUSTER group for processing p5. Commit cafddaedca records it.
- How should a reviewer use src p5.Renderer in the processing p5 snapshot?
- Keep src p5.Renderer, image p5.Image, and strands ir_types open together, then check src constants before merging the processing p5 change. Commit cafddaedca records it.
- Where does the processing p5 review stop after math p5.Vector?
- Stop after math p5.Vector, color p5.Color, and color creating_reading have been compared with src constants, leaving the ROOT_CLUSTER group until those processing p5 files are clear. Commit cafddaedca records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/p5/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo