UNPKG

bmad-agent-init

Version:

Windsurf integration for BMAD-METHOD - automatic initialization of bmad-agent in projects

14 lines (11 loc) • 273 B
import {sqrt} from "../math.js"; const sqrt3 = sqrt(3); export default { draw(context, size) { const y = -sqrt(size / (sqrt3 * 3)); context.moveTo(0, y * 2); context.lineTo(-sqrt3 * y, -y); context.lineTo(sqrt3 * y, -y); context.closePath(); } };