Releases: cereallarceny/gradient-path
Releases · cereallarceny/gradient-path
Adding closed paths
2.1.0
A lot of internal changes, nothing to outwards facing.
One breaking change:
- No longer exporting or using
flattenSegments()
, instead, just write this yourself. There's no need for it to be a permanent part of the library. This can easily be replaced with the following:
const data = getData({ path, segments, samples, precision });
const flattenedData = data.flatMap(({ samples }) => samples); // boom.
Version 2.0
Version 2.0!
So much stuff. We did a complete rewrite here of the entire library, including a ton of new Storybook stories for you to try out. The API is entirely different at this point, so... everything is a breaking change. If you're starting with this project now, start at this version.
- Documentation done for now 7552881
- Storybook is looking good 0ac1ade
- All examples in parity now 4df9aef
- Complete transformation to classes, now for the cleanup e4cefbc
- Changing a bunch of things, but also trying a new class driven approach 0510330
- Figured out coloring issue with paths 4750787
- Added path averaging 215d906
- Fixed a bug with samples per segment being less than 1 fbb5f8d
- Outling of strokes is finished fd3c4c9
- Correcting the sample count to be correct and modifying the readme c47f697
- A lot of organization, deciding on a structure for default export, and adding lots of stories cce4763
- Basic segment rendering done 4f4cc03
- Scoping out the initial version of the default method and documenting some parts e75e7e2
- A bit of organization dcbd193
- Much better. e86aa45
- Somewhat working sampling algorithm 79d0a1e
- Initial progress on a refactor 784ce52
- Correcting readme bfcce98