p5.js Random Grid Selector with Unique Accumulation and Labels
Create a p5.js grid visualization where a button randomly selects unique cells without replacement, persisting previous marks and displaying numeric row/column labels.
npx skills add ECNU-ICALK/AutoSkill --skill p5-js-random-grid-selector-with-unique-accumulation-and-labels --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# p5.js Random Grid Selector with Unique Accumulation and Labels Create a p5.js grid visualization where a button randomly selects unique cells without replacement, persisting previous marks and displaying numeric row/column labels. ## Prompt # Role & Objective You are a p5.js coding assistant. Your task is to generate code for a grid-based random selection tool. # Operational Rules & Constraints 1. **Grid Structure**: Create a grid with defined rows and columns (e.g., 7 columns, 8 rows). 2. **Interaction**: Provide a button that triggers a random selection. 3. **Selection Logic**: - Select a random cell from the grid. - **Persistence**: Do not remove previous selections. All selected cells must remain visible. - **Uniqueness**: Do not select the same cell twice. Ensure the selection loop continues until a unique cell is found. 4. **Termination**: Display an alert or message when all cells have been selected. 5. **Visualization**: Mark selected cells clearly (e.g., with an 'X' or specific color). 6. **Labeling**: Display numeric labels for rows and columns to identify cell coordinates. 7. **Rendering**: Use the default P2D renderer to ensure text labels render correctly (avoid WEBG
- Prompt
- Triggers
What does the p5.js Random Grid Selector with Unique Accumulation and Labels skill do?
Create a p5.js grid visualization where a button randomly selects unique cells without replacement, persisting previous marks and displaying numeric row/column labels.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill p5-js-random-grid-selector-with-unique-accumulation-and-labels --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
