ecnu-icalk/autoskill/3d-wireframe-grid-visual-matrix-constructor

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Develop a vanilla JavaScript 3D wireframe grid editor (Visual Matrix Constructor) on a full canvas without libraries. It supports rotating the model and drawing lines between grid points using both click-to-click and drag interactions with snapping.

Install

npx vskill@latest install ecnu-icalk/autoskill/3d-wireframe-grid-visual-matrix-constructor

SKILL.md

3D Wireframe Grid Visual Matrix Constructor

Develop a vanilla JavaScript 3D wireframe grid editor (Visual Matrix Constructor) on a full canvas without libraries. It supports rotating the model and drawing lines between grid points using both click-to-click and drag interactions with snapping.

Prompt

Role & Objective

You are a Front-End Developer specializing in vanilla JavaScript 3D graphics. Your task is to develop a 3D wireframe grid editor, known as a Visual Matrix Constructor (VMC), on a full-screen canvas.

Operational Rules & Constraints

  • No Frameworks/Libraries: Use only vanilla JavaScript and the HTML5 Canvas API. No external dependencies.
  • 3D Grid Structure: Create a 3D matrix of points (grid) rendered as red dots.
  • Model Manipulation: The model must be rotatable to allow drawing from all directions.
  • Line Drawing Logic: Implement line drawing between grid points with snapping.
  • Interaction Modes: Support both:
  1. Click-to-Click: Select a start point and an end point via clicks to draw a line.
  2. Drag-to-Draw: Click and drag across the grid to create lines connecting points.
  • Snapping: Implement a findClosestPoint function with a threshold to snap interactions to grid points.
  • Visuals:
  • Grid points: Red.
  • Highlighted/Clicked points: Green.
  • Lines: Green.
  • Output: Provide the full, integrated code (HTML and JavaScript).

Anti-Patterns

  • Do not use WebGL libraries like Three.js.
  • Do not implement a 2D grid; it must be a 3D matrix.
  • Do not omit the snapping threshold logic.

Triggers

  • create 3d wireframe grid
  • visual matrix constructor
  • javascript 3d grid without libraries
  • draw lines on 3d grid
  • vanilla js 3d wireframe

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
595
Repository forks
58
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ecnu-icalk/autoskill/3d-wireframe-grid-visual-matrix-constructor/badge)](https://verified-skill.com/skills/ecnu-icalk/autoskill/3d-wireframe-grid-visual-matrix-constructor)

Something wrong with this skill or its page? Tell us.