<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Crater Registry: new packages</title>
    <link>https://registry.crater-dev.workers.dev/</link>
    <description>Luau and Roblox packages for crater</description>
    <language>en</language>
    <item>
      <title>ifmnb/quat 0.2.0</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/quat/0.2.0</link>
      <guid isPermaLink="false">ifmnb/quat@0.2.0</guid>
      <category>New version</category>
      <pubDate>Sun, 29 Nov 2026 22:46:12 GMT</pubDate>
      <description>A half-cropped quaternion based on a vector without the w part.

### Added

- `from_matrix(right, up, back)`: builds a quaternion from an orthonormal basis
  supplied as matrix columns. `nil` vectors fall back to `+X`, `+Y` and `+Z`,
  so `from_matrix()` is the identity. The result goes through
  `from_components`, so it is canonicalized (`w &gt;= 0`).
- Tests for the `from_matrix` basis order, argument defaults, component layout,
  `to_matrix` round-trip and float32 accuracy (48 tests total).

### Changed

- Documentation now states the left-handed ZYX convention and shows how to pass
  a Roblox `CFrame` basis (`RightVector`, `UpVector`, `-LookVector`).</description>
    </item>
    <item>
      <title>ifmnb/quat 0.1.0</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/quat/0.1.0</link>
      <guid isPermaLink="false">ifmnb/quat@0.1.0</guid>
      <category>New version</category>
      <pubDate>Sun, 29 Nov 2026 21:52:52 GMT</pubDate>
      <description>A half-cropped quaternion based on a vector without the w part.

### Added

- `from_components(...)`: builds a quaternion from the 12 numbers returned by
  `CFrame:GetComponents()` (position is ignored).
- `to_components(q)`: returns the nine rotation numbers in the same
  column-major order as `CFrame:GetComponents()`.
- `to_matrix(q)`: returns the `right`, `up` and `back` basis vectors.
- `apply(q, v, inverse?)`: rotates a vector, optionally by the inverse rotation.
- `multiply(a, b)`: quaternion composition; `apply(multiply(a, b), v)` equals
  `apply(a, apply(b, v))`.
- `canonical_w(v)` and `canonical_w(x, y, z)`: reconstructs the implicit `w`.
- `tests/`: dependency-free test suite (43 tests), accuracy checks against
  double-precision references and a benchmark against the RbxUtil Quaternion
  reference. See `src/quat/tests/README.md`.

### Changed

- **Breaking:** `rotate` was renamed to `rotate_towards` to match the operation
  it performs and the RbxUtil name (`RotateTowards`).
- **Breaking:** the exported types are now `quaternion` and `library` instead of
  `Quaternion` and `Library`.
- `euler` now returns the inverse of `from_euler` (`qy * qx * qz`) instead of a
  different Euler convention. It uses `asin`/`atan2` and has a gimbal-lock
  branch that returns `z = 0`.
- `create` now normalizes or rescales the vector part as a whole. The old
  implementation clamped `x`, `y` and `z` independently, which could produce a
  non-unit, non-canonical result.
- `from_axis` defaults changed: a `nil` or zero axis falls back to `+Y`, and a
  `nil` angle means `0` (identity). Previously the axis defaulted to `(1, 1, 1)`
  and the angle to `1`.
- `from_looked` now projects the up vector onto the plane perpendicular to the
  look direction and handles a collinear up vector with a fallback axis instead
  of returning `NaN`.
- `from_euler`, `from_looked`, `multiply`, `slerp`, `rotate_towards` and
  `from_components` now canonicalize the sign of the stored rotation: when the
  computed `w` is negative, the vector part is negated too.
- `euler` documentation now states that rotations are stored canonically
  (`w &gt;= 0`), so an equivalent angle triple may be returned when the scalar
  part is negative.

### Fixed

- `from_euler` and `multiply` stored the conjugate rotation when the computed
  `w` was negative: `w` is reconstructed as `sqrt(1 - |v|^2) &gt;= 0`, so the
  vector part must be flipped with it. Example: `from_euler(2, -2, 2)` used to
  rotate a unit axis with an error of `1.1`; it now matches a double-precision
  reference within `5e-8`.
- `euler` was not the inverse of `from_euler`; the old extraction mixed a
  different axis order and produced up to ~`0.88 rad` of rotation error.
- `from_looked` could divide by zero or return a non-orthonormal matrix when the
  up vector was collinear with the look direction.

### Performance

- Stored size remains 16 bytes per quaternion (three `float32` components in a
  native `vector`) versus 192 bytes for the RbxUtil reference (frozen table plus
  metatable per result): 12x less memory and no heap allocation per operation.
- With `-O2 --codegen`, the benchmark is 1.3x–5.9x faster per operation on
  constructors, `apply`, `multiply`, `normalize`, `slerp`, `rotate_towards`,
  `dot`, `magnitude`, `euler` and `axis`; reading `w` (`scalar()`) remains
  slower than RbxUtil's stored `.W`.
- The whole benchmark sum is 2.8x faster with codegen. Because the reference
  still allocates a table per result and the benchmark shim cannot model
  Roblox's C++ `Vector3`/`CFrame`, treat the practical advantage on
  allocation-heavy workloads as roughly an order of magnitude (≈10x); this is a
  memory/allocation claim, not a per-call CPU claim.</description>
    </item>
    <item>
      <title>ifmnb/crate 0.1.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/crate/0.1.1</link>
      <guid isPermaLink="false">ifmnb/crate@0.1.1</guid>
      <category>New version</category>
      <pubDate>Sun, 15 Nov 2026 01:01:19 GMT</pubDate>
      <description>Runtime for emulating objects based on userdata</description>
    </item>
    <item>
      <title>onedps/bloom 1.5.0</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/onedps/bloom/1.5.0</link>
      <guid isPermaLink="false">onedps/bloom@1.5.0</guid>
      <category>New version</category>
      <pubDate>Sat, 14 Nov 2026 19:09:32 GMT</pubDate>
      <description>Blossom with possibilities. Predictable API, high performance, and no limitations.

### Changed

- The whole library was rewritten around one flat RGBA framebuffer. Tiles now exist only to present that buffer through `EditableImage`, and every primitive clips once, writes tight loops, and marks one exact damage rectangle.
- `DrawPixel` is minimal again: floor, viewport check, one `writeu32`, one bounds update. The duplicated damage block and the hidden per-pixel caches are gone.
- Exact per-tile damage replaced the 16-mark escalation heuristic. Uploads use the full tile only when the damaged rectangle covers it.
- The TTF rasteriser uses scanline edge intersections instead of four winding tests per pixel. Glyph output can differ slightly from 1.5.0 in antialiasing detail.
- Scaled texture blits precompute column and row sampling tables; texture draws and shaders use specialised 1:1, alpha, tinted/opacity and scaled paths with hoisted locals.
- `Resize` is atomic: new resources are built first. A failure leaves the old canvas and its picture usable.
- `Update`/`UpdateAsync` share one upload path with a generation guard, so stale async work cannot upload into a new tile generation. Async updates batch up to 16 tiles per scheduler task, and both paths visit only tiles on the dirty-tile list instead of scanning the whole grid.
- `DrawText` hoists per-call text invariants and blits 1:1 glyphs through a dedicated fast path; scaled glyphs keep the general texture path.
- The public API and documented behaviour are unchanged apart from the fixes below.

### Fixed

- Removed the read-only caches in `EachPixel`, `DrawText` and `DrawTriangle`. Repeated calls always execute.
- `EachPixel` marks the exact bounding box of the pixels that actually changed, not the whole visited rectangle. A read-only pass schedules no upload and is never cached.
- Pipeline stages are isolated with `pcall`: a failing stage warns and the remaining stages still run.
- Custom shader errors propagate, and rows processed before the error stay marked for the next upload.
- Triangles and glyphs mark the rectangle actually written, not the vertex or glyph box.
- `Clear(0)` always wins over an earlier opaque clear; `GetBuffer()` still disables the repeated same-colour clear shortcut.

### Added

- `DrawCircle` and `DrawCircleAA` draw filled circles; the AA variant blends a one-pixel edge.
- `DrawPolygon` fills a convex polygon as a triangle fan from an array of points or flat coordinates.
- Tiles no longer keep a second CPU copy of their pixels: uploads stage each tile through one reusable buffer sized to the largest tile.</description>
    </item>
    <item>
      <title>ifmnb/crate 0.1.0</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/crate/0.1.0</link>
      <guid isPermaLink="false">ifmnb/crate@0.1.0</guid>
      <category>New version</category>
      <pubDate>Fri, 13 Nov 2026 11:15:37 GMT</pubDate>
      <description>Runtime for emulating objects based on userdata</description>
    </item>
    <item>
      <title>funnydevz/funny-core 0.0.7</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/funnydevz/funny-core/0.0.7</link>
      <guid isPermaLink="false">funnydevz/funny-core@0.0.7</guid>
      <category>New version</category>
      <pubDate>Wed, 11 Nov 2026 18:30:02 GMT</pubDate>
      <description>The object foundation for Roblox, which provides tools for creating games without spending time developing tools</description>
    </item>
    <item>
      <title>funnydevz/funny-core 0.0.6</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/funnydevz/funny-core/0.0.6</link>
      <guid isPermaLink="false">funnydevz/funny-core@0.0.6</guid>
      <category>New version</category>
      <pubDate>Sat, 07 Nov 2026 23:59:51 GMT</pubDate>
      <description>The object foundation for Roblox, which provides tools for creating games without spending time developing tools</description>
    </item>
    <item>
      <title>funnydevz/funny-core 0.0.4</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/funnydevz/funny-core/0.0.4</link>
      <guid isPermaLink="false">funnydevz/funny-core@0.0.4</guid>
      <category>New version</category>
      <pubDate>Sat, 07 Nov 2026 23:06:03 GMT</pubDate>
      <description>The object foundation for Roblox, which provides tools for creating games without spending time developing tools</description>
    </item>
    <item>
      <title>funnydevz/funny-core 0.0.3</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/funnydevz/funny-core/0.0.3</link>
      <guid isPermaLink="false">funnydevz/funny-core@0.0.3</guid>
      <category>New version</category>
      <pubDate>Sat, 07 Nov 2026 22:05:55 GMT</pubDate>
      <description>The object foundation for Roblox, which provides tools for creating games without spending time developing tools</description>
    </item>
    <item>
      <title>funnydevz/funny-core 0.0.2</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/funnydevz/funny-core/0.0.2</link>
      <guid isPermaLink="false">funnydevz/funny-core@0.0.2</guid>
      <category>New package</category>
      <pubDate>Fri, 06 Nov 2026 23:15:33 GMT</pubDate>
      <description>The object foundation for Roblox, which provides tools for creating games without spending time developing tools</description>
    </item>
    <item>
      <title>ifmnb/quat 0.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/quat/0.0.1</link>
      <guid isPermaLink="false">ifmnb/quat@0.0.1</guid>
      <category>New package</category>
      <pubDate>Fri, 06 Nov 2026 20:43:30 GMT</pubDate>
      <description>A half-cropped quaternion based on a vector without the w part.</description>
    </item>
    <item>
      <title>ifmnb/buffer-array 0.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/buffer-array/0.0.1</link>
      <guid isPermaLink="false">ifmnb/buffer-array@0.0.1</guid>
      <category>New package</category>
      <pubDate>Fri, 06 Nov 2026 20:39:47 GMT</pubDate>
      <description>An array created based on buffer</description>
    </item>
    <item>
      <title>ifmnb/buffer-bitmap 0.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/buffer-bitmap/0.0.1</link>
      <guid isPermaLink="false">ifmnb/buffer-bitmap@0.0.1</guid>
      <category>New package</category>
      <pubDate>Fri, 06 Nov 2026 20:32:17 GMT</pubDate>
      <description>A buffer-based bitmap</description>
    </item>
    <item>
      <title>ifmnb/algo-sat 0.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/algo-sat/0.0.1</link>
      <guid isPermaLink="false">ifmnb/algo-sat@0.0.1</guid>
      <category>New package</category>
      <pubDate>Fri, 06 Nov 2026 19:26:25 GMT</pubDate>
      <description>The algorithm of Separating Axis Theorem</description>
    </item>
    <item>
      <title>ifmnb/crate 0.0.2</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/crate/0.0.2</link>
      <guid isPermaLink="false">ifmnb/crate@0.0.2</guid>
      <category>New version</category>
      <pubDate>Fri, 06 Nov 2026 14:47:00 GMT</pubDate>
      <description>Runtime for emulating objects based on userdata</description>
    </item>
    <item>
      <title>ifmnb/crate 0.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/ifmnb/crate/0.0.1</link>
      <guid isPermaLink="false">ifmnb/crate@0.0.1</guid>
      <category>New package</category>
      <pubDate>Thu, 05 Nov 2026 21:24:04 GMT</pubDate>
      <description>Runtime for emulating objects based on userdata</description>
    </item>
    <item>
      <title>onedps/bloom 1.0.1</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/onedps/bloom/1.0.1</link>
      <guid isPermaLink="false">onedps/bloom@1.0.1</guid>
      <category>New version</category>
      <pubDate>Sun, 25 Oct 2026 13:41:09 GMT</pubDate>
      <description>Blossom with possibilities. Predictable API, high performance, and no limitations.</description>
    </item>
    <item>
      <title>onedps/bloom 1.0.0</title>
      <link>https://registry.crater-dev.workers.dev/#/pkg/onedps/bloom/1.0.0</link>
      <guid isPermaLink="false">onedps/bloom@1.0.0</guid>
      <category>New package</category>
      <pubDate>Sat, 24 Oct 2026 13:53:43 GMT</pubDate>
      <description>Blossom with possibilities. Predictable API, high performance, and no limitations.</description>
    </item>
  </channel>
</rss>