meodai / poline

Esoteric Palette Generator Mico-Lib Interpolating HSL Color in cartesian space
https://meodai.github.io/poline/
MIT License
672 stars 33 forks source link

Feat: Point on line #8

Open meodai opened 1 year ago

meodai commented 1 year ago

Make it possible to smoothly return any color on the entirety of the line.

pointAt(.1)
// |--\/-------------|-------|-------------|

pointAt(.9)
// |---------------|-------|------------\/-|

pointAt(.5)
// |---------------|---\/----|-------------|