gradient-path

A small library to have any gradient follow along any SVG path

MIT License

Downloads
2.2K
Stars
175
Committers
2
gradient-path - Adding closed paths Latest Release

Published by cereallarceny over 2 years ago

  • Adding NPM e71651b
  • Adding 2fa for deployment 6311cbe
  • Removing np from dev 7364abc
  • Adding npm ignore 1d4a8be
  • Updating readme 553c800
  • Fixing build, upgrading deps, and removing default 02c3b75
  • Upgrading packages f36f36b

https://github.com/cereallarceny/gradient-path/compare/v2.2.0...v2.3.0

gradient-path - 2.1.0

Published by cereallarceny over 5 years ago

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.
  • A bunch of cleanups, more documentation, and elmination of flattenSegments c33e9b8
  • Closing the path properly now 763db67
  • Object config for sample and segment 014ab36
  • Documentation change 486a4bd

https://github.com/mnsht/gradient-path/compare/v2.0.0...v2.1.0

gradient-path - Version 2.0

Published by cereallarceny over 5 years ago

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

https://github.com/mnsht/gradient-path/compare/v1.0.2...v2.0.0

gradient-path - v1.0.2

Published by cereallarceny over 5 years ago

  • Changes to migrate to Moonshot 34c74c3
  • Adding yarn error to ignore 3fb62ab
  • Spacing error 717713f
  • Adding code sandbox 2a29d45
  • Decoupling deploy and release e7325db

https://github.com/mnsht/gradient-path/compare/1.0.1...v1.0.2