Skip to main content
ArcSight

← 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%.

core/constants72 · 36 fan-in
math/p5.Vector46 · 17 fan-in
color/p5.Color43 · 8 fan-in
color/creating_reading43 · 7 fan-in
friendly_errors/fes42 · 8 fan-in

Median 60%. Thick bar is blast share. Thin bar is fan-in.

Download the finding

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/constants

Under 3 minutes to first arc impact on a TypeScript monorepo (internal runs).

README badge

ArcSight architecture proof for p5.js
[![ArcSight architecture proof for p5.js](https://arcsight.ai/badge/proof/p5/)](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

RankFileFan-inBlastShare
1src/core/constants

concentrates too many responsibilities, shared utility hub

367246%
2src/math/p5.Vector

concentrates too many responsibilities, shared utility hub

174630%
3src/color/p5.Color84328%
4src/color/creating_reading74328%
5src/friendly_errors/fes84227%
All ranked files
RankFileFan-inBlastShare
6src/core/p5.Renderer73321%
7src/image/p5.Image73321%

Circular dependencies

This snapshot records 10 dependency cycles.

Roles

  • src/strands/ir_types — concentrates too many responsibilities

Nearby proofs

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 breaks
  • arc scanFind issues
  • arc fixApply fixes
  • arc finishResolve remaining
  • arc watchKeep clean

More commands (explain, guard…) →

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.

npx arcsight init
arc impact <path>
Install ArcSight →

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