Commit Graph
11 Commits
Author SHA1 Message Date
4DBug 5d7c223ab8 ws-cleanup: merge ws/cleanup-types (type annotations) 2026-10-31 11:27:42 -05:00
4DBugandClaude Opus 5.5 086b0a7ffd ws-cleanup: F.ops facade (image / mesh / layers / audio / vector.rasterize) and ops/AudioOps
- F.ops in init.luau, loaded on first use: F.ops.image (ImageOps), F.ops.mesh (MeshOps), F.ops.layers (LayerOps),
  F.ops.audio (new ops/AudioOps), F.ops.vector.rasterize (the vector/svg renderer for any Vector, through F.format).
- ops/AudioOps: toAudio / fromDecoder (Audio from a Decoder via codecs/Pcm), gain / gainDb / normalize, peak / rms,
  remix / downmix / upmix (WAVE-layout matrices, BS.775 coefficients normalised against clipping), resample
  (codecs/Resample), trim, concat and mix (inputs converted to the first one's rate and channels), fade.
- tests/ops/audioops (39 checks, both runtimes); docs/API.md (new): the F.* API, F.ops, hooks, host.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 11:06:04 -05:00
4DBugandClaude Opus 5.5 c436f4d265 ws-cleanup-types: codecs: type table.create results, string-keyed tables and multi-assigned locals
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 10:52:04 -05:00
4DBugandClaude Opus 5.5 8e6894c6b5 ws-cleanup-types: containers, ops: type the tables and locals the solver cannot infer
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 10:46:15 -05:00
4DBugandClaude Opus 5.5 2c15b97cd8 ws-cleanup-types: Types, api, host: honest annotations; return the full annotated value count
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 10:43:19 -05:00
4DBug 9821cd129b merge ws/vec: svg (+raster), psd, aseprite, tiled, srt/vtt/ass, codecs/Blend, core/Base64, ops/LayerOps 2026-10-31 09:12:40 -05:00
4DBug 91eba2bc24 merge ws/3d: obj stl ply off vox gltf/glb, ops/MeshOps, codecs Base64/MeshFlatten, api sibling files + texture encoding 2026-10-31 09:08:22 -05:00
4DBugandClaude Opus 5.5 e5a932ddaa ws-3d: tests/ops/meshops (triangulate, transform, normals, tangents, weld, merge, bounds, units, up axis, greedy voxels, api texture encoding)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 09:04:33 -05:00
4DBug e2b338db7e imgA-ops: ops/ImageOps (convert between every pixel format incl. yuv420p, crop, resize nearest/bilinear/Lanczos-3 as Pillow, flip, rotate90, rotate bilinear+expand as Pillow, blit/composite with Pillow's alpha_composite, premultiply, get/setPixel, fill, coalesce/fromFrames/frameCount/durations) with Pillow fixtures, tests on both runtimes, bench block 2026-10-31 08:47:30 -05:00
4DBug 71aaeb64db vec: layered/psd (PSD/PSB read: all modes/depths, RLE/ZIP, groups, masks, clipping; write: 8-bit RGB layers + merged), codecs/Blend (blend modes, layer-tree compositing), ops/LayerOps (flatten, frames, leaves); Types: Layer gains optional children/clip/mask + Layered.layer/group constructors (backward compatible). Tests vs psd-tools incl. psd-tools reading our PSD 2026-10-31 08:39:56 -05:00
4DBugandClaude Opus 5.5 58f6b32541 ws-3d: model/vox (MagicaVoxel read/write: every chunk, scene graph, materials, layers, render objects, cameras, notes, IMAP, META, unknown chunks kept), ops/MeshOps (triangulate, transform, normals, tangents, weld/unweld, bounds, merge, scale/setUnit/setUp, greedy voxel meshing); Types: Scene.reader/mul/nodeMatrix/flatten helpers; compat: __iter visits t[0] on LuaJIT (was skipped by ipairs)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 08:38:02 -05:00