Pixijs Math

pixijs/pixijs-skills/skills/pixijs-math

by pixijs83760c6f5346MIT347 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 7 days ago

Use this skill when working with coordinates, vectors, matrices, shapes, hit testing, or layout rectangles in PixiJS v8. Covers Point/ObservablePoint, Matrix (2D affine, decompose (including mirrored/negative-scale matrices), apply, applyInverse), shapes (Rectangle, Circle, Ellipse, Polygon, RoundedRectangle, Triangle), Rectangle layout helpers (pad, fit, enlarge, ceil, scale, getBounds), strokeContains hit tests, Polygon isClockwise/containsPolygon, toGlobal/toLocal, PointData/PointLike/Size types, DEG_TO_RAD, and pixi.js/math-extras vector and intersection helpers. Triggers on: Point, ObservablePoint, Matrix, Rectangle, Circle, Polygon, Triangle, RoundedRectangle, toGlobal, toLocal, hitArea, strokeContains, pad, fit, enlarge, ceil, getBounds, containsRect, intersects, isClockwise, math-extras, lineIntersection, segmentIntersection, DEG_TO_RAD, PointData, decompose, mirror, flip, negative scale, setFromMatrix.

Instructions onlySoftware Development
  1. 83760c6f5346Currentcommit 83760c6Published Oct 8, 2026

Source and attribution

Source:pixijs/pixijs-skillsinskills/pixijs-mathat commit83760c6

License: MIT

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal