Tags

Tags give the ability to mark specific points in history as being important
  • 1.3.0

    a40e08db · Version 1.3.0 ·
    - Features:
      - `HSLColor` now implemented as a dataclass using slots for efficiency and performance.
      - Color scales concatenation. Now it is possible to concatenate several color scales into a
        single one.
      - Color scales lerp'ing. Now colors can be created given a color scale and a position in it.
      - Color scales conversion:
        - To SVG linear gradients as `xml.etree.ElementTree.Element` trees.
        - To Plotly color scales.
      - Extraction of color sequences from color scales.
  • 1.2.0

    ec7477cd · Version 1.2.0 ·
    - Features:
      - Now color systems conversions are done through Python's built-in `colorsys` module.
      - Added a method to output colors as CSS3 hexadecimal strings.
      - Added a method to output a color scale as an SVG linear gradient string.
      - Examples to showcase the possibilites of the library.
    - Fixes:
      - Fixed linear interpolation, now truly linear instead of lerp'ing the RGBA components.
      - Fixed the shortest and longest paths in the cylindrical interpolations in some cases.
      - Fixed the elliptical interpolation because, again, of a bad lerp'ing algorithm.