Skip to content

Release v0.7.151

Pre-release
Pre-release

Choose a tag to compare

@Justin-Byrne Justin-Byrne released this 28 Aug 14:18
· 10 commits to main since this release

[0.7.151] - 2024-08-27

Added

  • canvasLab
    • ☀️ PROPERTY_BLOCKS module,
      • individual.master mutator & accessor
      • collection.template mutator & accessor
    • ☀️ Location class, for storing location data for animations
    • 🌼 Animation class,
      • _cacheObject function, to cache object
      • _checkQueue function, to check whether queue is set
      • _clearCanvas function, to clear the canvas
      • _drawCache function, to draw cached object(s)
      • _getPointByDegreeNDistance function, to returns a point based off of the direction & distance passed
      • _setLocationData function, to set Location data
      • _transition function, to calculate an animation transition
  • devSuite
    • ☀️ Lab class, added code folding, via hotkey Ctrl + - + ;

Changed

  • canvasLab
    • 🌕 PROPERTY_BLOCKS module,
      • discrete to individual
      • combined to collection
    • 🌕 UTILITIES module,
      • push, added storage type check prior to push, for constructor argument pushes
      • misc.pushPop, added storage check, prior to push or pop
      • moved color, draw, misc, & set function into an individual containing; for better organization

Refactored

  • canvasLab
    • 🌗 VALIDATION module,
      • isCanvasLabObject to include collections
    • 🌗 Rgb class, supplemented alpha mutator & accessor with PROPERTY_BLOCKS.alpha
    • 🌗 Stroke class, refactored segments setter to not set the type property
    • 🌗 Line class, reorganized
    • 🌗 Supplemented the following mutators & accessors
      • Anchor class,
        • point with PROPERTY_BLOCKS.individual.point
        • x with PROPERTY_BLOCKS.individual.pointX
        • y with PROPERTY_BLOCKS.individual.pointY
      • Point class,
        • canvas with PROPERTY_BLOCKS.individual.canvas
      • Shadow class,
        • offset with PROPERTY_BLOCKS.individual.offset
        • x with PROPERTY_BLOCKS.individual.offsetX
        • y with PROPERTY_BLOCKS.individual.offsetY
      • canvasLab class, refactored animate to include new properties; object, timing, period, & change
      • Animation class,
        • animate function, to process animation(s) using a new animation processing schema
        • _getAnimationProperties function, to return animation properties using new animation processing schema

Removed

  • canvasLab
    • ⛏️ UTILITIES module,
      • redraw
    • ⛏️ PROPERTY_BLOCKS module,
      • collection.start
      • collection.end
    • ⛏️ Rgb class, removed fade function
    • ⛏️ Text class, removed fillColorCycle function