Skip to content

0.0.5

Compare
Choose a tag to compare
@ChristopherChudzicki ChristopherChudzicki released this 14 Apr 12:09
· 106 commits to master since this release

0.0.5

  • ⚠️ Rename array length to width for consistency.
  • ⚠️ Reverse the polarity on zOrder, higher zOrder should be drawn later.
  • ⚠️ Rename resample/lerp centeredWidth, centeredHeight, ... to centeredX, centeredY for consistency.
  • ⚠️ Change data sampler to not auto-wrap/repeat since it was 2D only. Out-of-bounds sampling is now undefined unless you add <repeat /> or <clamp /> (works in 4D).
  • Add miter/round/bevel join prop for lines, with improved handling of degenerate cases in 3D.
  • Fix anchor logic on <grow /> being applied to unpinned axes.
  • Add 'binary' / 'hold' ease to force a binary (halfway) or hold (to end) transition.
  • Flatten selector arrays recursively, e.g. sources: [array1, "#array2"] now works.
  • Refactor <resample /> and <lerp /> to handle relative sizes/padding correctly with uncentered sampling.
  • Add <subdivide /> operator to lerp geometries non-evenly, see test/subdivide.html for uses.
  • Add <clamp /> for clamp-to-edge sampling in 4D.
  • Round fractional sample indices for 3D/4D buffers to ensure correct alignment when resampling. Set aligned: true on array/matrix/... to disable this when integer lookups are guaranteed.
  • Fix bug when a text atlas is emptied completely.
  • Minor documentation improvements (basic API).