Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)7.2k · #13399

background-grid-webgl

Skill này làm gì

Skill này hướng dẫn agent tạo một nền sàn lưới kiểu công nghệ lùi xa vào khoảng cách trên trang web. Nó dành cho nhà thiết kế muốn một nền chuyển động, tinh tế và có chiều sâu.

Khi nào nên dùng

  • ✓Khi một trang công nghệ hoặc sản phẩm cần một nền lưới lùi xa.
  • ✓Khi bạn muốn một nền 3D chuyển động chậm nhưng vẫn tiết chế.
  • ✓Khi nền nên tạo chiều sâu mà không át nội dung.

Liên kết skill

https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/background-grid-webgl/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/MengTo/Skills/blob/main/agent-skills/web-design/background-grid-webgl/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một nền lưới 3D tinh tế cho trang đích công nghệ của tôi, với trôi chậm và vài hạt bụi bay lơ lửng.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent vẽ một mặt phẳng lớn gồm các đường mảnh nhìn từ trên, với các đường mờ dần về phía chân trời. Các hạt bụi và chuyển động tiến chậm tạo chiều sâu, và máy quay dịch nhẹ theo con trỏ.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Background Grid WebGL Skill

Use When

  • Create a perspective WebGL background grid with fading lines, subtle particle haze, slow forward drift, and gentle camera parallax.

Workflow

Scope

  • Apply this only to the immersive background grid layer, not to the full page layout, copy, or unrelated particle or laser systems.
  • Use it when the design needs a perspective tech grid receding into space with subtle motion and depth.

Visual target

  • Create a large perspective ground-plane grid viewed from an elevated camera angle so the lines recede toward the horizon.
  • Keep the grid understated and atmospheric: thin lines, soft fade with distance, dark background, and restrained glow rather than a loud retro neon floor.
  • Add a light field of floating particles or dust to give the scene depth without overpowering the grid.
  • Use the design's primary color or strongest accent color sparingly for glow, particles, or secondary emphasis. If the design is neutral, a white or cool gray grid is acceptable.

Implementation guidance

  • Prefer Three.js or equivalent real WebGL rendering for this effect.
  • Use a perspective camera positioned above the plane and looking toward the origin to emphasize depth.
  • Build the grid as a large plane helper or custom grid with line opacity fading by distance so the far field dissolves smoothly.
  • Animate the grid with slow forward drift or repeated positional cycling so it feels alive without becoming distracting.
  • Add subtle mouse-responsive camera parallax or offset, but keep the movement calm and damped.
  • Add a sparse additive particle field with low opacity and slow motion to soften the empty space around the grid.

Tuning knobs

  • Grid density: control plane size, division count, and line spacing.
  • Fade: adjust opacity falloff so the grid recedes naturally into darkness.
  • Motion: tune forward drift speed, particle float speed, and camera smoothing.
  • Camera: adjust height, distance, tilt, and parallax strength to control perspective drama.
  • Color: keep the base grid subtle and use the active design accent only as a restrained highlight.

Avoid

  • Bright synthwave neon grids unless the design explicitly calls for that style.
  • Thick linework or high-contrast grids that compete with foreground content.
  • Dense particles or fog that obscure the grid structure.
  • Aggressive mouse tracking or fast grid motion that makes the background feel unstable.
Câu hỏi thường gặp

Đây có phải lưới neon retro sáng không?

Không. Skill yêu cầu các đường mảnh, tiết chế và ánh sáng nhẹ, không phải một sàn chói.

Màu nào hợp nhất?

Skill dùng màu nhấn chính của thiết kế một cách tiết chế, hoặc lưới trắng và xám lạnh cho thiết kế trung tính.

Có cần thư viện đặc biệt không?

Skill ưu tiên Three.js hoặc WebGL thật để dựng lưới.

Chi tiết

Mô tả gốc của tác giả

Create a perspective WebGL background grid with fading lines, subtle particle haze, slow forward drift, and gentle camera parallax.

repo: MengTo/Skills

Độ phổ biến

Sao GitHub
7.2k
Vị trí xếp hạng
#13399
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự