跳到正文
cccskills
免费在 GitHub 公开

bivector-forum

Community knowledge from bivector.net - GA tutorials, discussions, and best practices

中文简介正在准备中。当前显示原文说明。

集成工具Discord
查看安装方法

包含的文件(2)

  • SKILL.md5.9 KB
  • CONCOMITANT_SKILLS.md1.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

bivector-forum

Curated knowledge from the Geometric Algebra community

Version: 1.0.0
Trit: 0 (ERGODIC - knowledge transport)

Overview

bivector.net is the primary community hub for Geometric Algebra practitioners. This skill distills key insights, common pitfalls, and best practices.

Community Resources

ResourceURLDescription
Forumbivector.netDiscourse-based Q&A
Discorddiscord.gg/bivectorReal-time chat
Wikibivector.net/wikiCollaborative docs
GAlculatorenkimute.github.io/ganja.js/examples/galculator.htmlOnline calculator

Key Contributors

  • Steven De Keninck (@enkimute) - ganja.js author
  • Leo Dorst - "Geometric Algebra for Computer Science"
  • Charles Gunn - PGA for graphics
  • Eric Lengyel - Game engine applications

Common Patterns

1. Choosing the Right Algebra

Use CaseAlgebraSignature
2D graphicsPGA2DCl(2,0,1)
3D graphicsPGA3DCl(3,0,1)
Circles/spheresCGACl(n+1,1)
Rotations onlyQuaternionsCl(0,2)
Rigid bodyDual QuaternionsCl(0,2,1)
RelativitySpacetimeCl(1,3)

2. Dual vs Homogeneous

PGA (Projective): Points are bivectors, planes are vectors

  • Pro: Unified treatment of points at infinity
  • Con: Counterintuitive grading

CGA (Conformal): Points are null vectors

  • Pro: Circles/spheres as blades
  • Con: Higher dimensional, slower

3. Sign Conventions

Different sources use different conventions:

Conventione₀²Point Encoding
"Mathematics"0e₁₂₃ + xe₀₂₃ + ye₀₁₃ + ze₀₁₂
"Engineering"0e₁₂₃ - xe₀₂₃ + ye₀₁₃ - ze₀₁₂
ganja.js01e123 - x1e023 + y1e013 - z*1e012

4. Normalization

Always normalize motors/rotors after composition:

// WRONG: Drift over time
for (let i = 0; i < 1000; i++) {
  motor = motor.Mul(smallRotor);  // Accumulates error
}

// RIGHT: Normalize periodically
for (let i = 0; i < 1000; i++) {
  motor = motor.Mul(smallRotor);
  if (i % 100 === 0) motor = motor.Normalized;
}

5. Avoiding Common Pitfalls

Pitfall: Wrong Product

// WRONG: Using geometric product for join
var line = pointA * pointB;  // Gives rotor, not line!

// RIGHT: Use regressive product
var line = pointA & pointB;  // Vee = join

Pitfall: Forgetting Reverse

// WRONG: Missing reverse in sandwich
var transformed = motor * point;  // Only half the sandwich!

// RIGHT: Full sandwich
var transformed = motor * point * ~motor;
// Or use >>> operator
var transformed = motor >>> point;

Pitfall: Grade Extraction

// WRONG: Assuming grade by position
var scalar = result[0];  // May not be scalar!

// RIGHT: Use grade projection
var scalar = result.Grade(0);
var bivector = result.Grade(2);

Frequently Asked Questions

Q: PGA or CGA?

A: Start with PGA. It's simpler, faster, and covers most needs. Use CGA only when you need circles/spheres as first-class objects.

Q: Why are my transformations wrong?

A: Check:

  1. Motor normalization
  2. Sandwich product (both sides)
  3. Transformation order (right-to-left)
  4. Sign conventions

Q: How to debug multivector issues?

A:

  1. Use console.log(mv.toString()) in ganja.js
  2. Check grade with mv.Grade(k).Length
  3. Verify normalization with mv.Mul(mv.Reverse).s

Q: Performance tips?

A:

  1. Cache computed motors
  2. Use specialized rotors/translators
  3. Avoid repeated normalization
  4. Pre-compute inverse when possible

GAlculator Tips

The online GAlculator is great for:

  • Quick experiments
  • Verifying formulas
  • Learning GA intuitively
// Example session
> 1e1 * 1e2
= 1e12

> (1e1 + 1e2).Normalized
= 0.707e1 + 0.707e2

> (1 + 0.5e12).Exp()
= 0.878 + 0.479e12

Integration with Skills Ecosystem

From bivector.net → Skills

Forum TopicRelated Skill
"PGA for beginners"ganja-wedge-game
"Motor interpolation"pga-motor-interpolation
"CGA circles"conformal-ga
"Visualization tips"ga-visualization
"Code generation"ga-codegen

GF(3) Conservation

Community discussions often naturally balance:

  • Questions (-1): Seeking understanding
  • Answers (0): Sharing knowledge
  • Examples (+1): Generating new applications

Discord Bot Commands

!algebra PGA3D     - Show algebra info
!product a b       - Compute geometric product
!explain wedge     - Explain wedge product
!example rotation  - Show rotation example

GF(3) Triads

bivector-forum (0) ⊗ ganja-wedge-game (+1) ⊗ conformal-ga (-1) = 0 ✓
bivector-forum (0) ⊗ ga-codegen (+1) ⊗ sheaf-cohomology (-1) = 0 ✓

Commands

# Open forum
open https://bivector.net/

# Open Discord
open https://discord.gg/vGY6pPk

# Open GAlculator
open https://enkimute.github.io/ganja.js/examples/galculator.html

References


Autopoietic Marginalia

The interaction IS the skill improving itself.

Every use of this skill is an opportunity for worlding:

  • MEMORY (-1): Record what was learned
  • REMEMBERING (0): Connect patterns to other skills
  • WORLDING (+1): Evolve the skill based on use

Add Interaction Exemplars here as the skill is used.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

13c0e3

免费

Gay MCP skill at invocation 26

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

19d57d

免费

Gay MCP skill at invocation 5

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1ea91a

免费

Gay MCP skill at invocation 27

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

1eab21

免费

Gay MCP skill at invocation 3

中文简介正在准备中。当前显示原文说明。

plurigrid/asi702026年7月10日 更新

查看 plurigrid 的全部技能

报告此技能的问题