fs-gg-line-drawing
OfficialDraw straight lines and check line-of-sight on a grid
AuthorFS-GG
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables the drawing of straight lines between two grid cells and checking line-of-sight in a grid-based simulation, essential for pathfinding, visibility, and collision detection.
Core Features & Use Cases
- Line Drawing: Calculate the Bresenham line between two cells and the supercover line that touches every cell.
- Line-of-Sight: Determine if one cell is visible from another based on an opacity predicate.
- Use Case: This Skill can be used to determine if a unit can see or attack another unit in a grid-based game.
Quick Start
Use the fs-gg-line-drawing skill to draw a line from cell (0,0) to cell (5,2) and check if cell (0,0) can see cell (5,2).
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fs-gg-line-drawing Download link: https://github.com/FS-GG/FS.GG.Game/archive/main.zip#fs-gg-line-drawing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.