coloralgorithm icon indicating copy to clipboard operation
coloralgorithm copied to clipboard

Lock Color

Open lucaorio opened this issue 7 years ago β€’ 13 comments

Is there a chance to see the Lock Color feature part of Colorbox added here too, eventually? :)

lucaorio avatar Jan 09 '19 23:01 lucaorio

Yep! Working on updating the algorithm and adding proper documentation.

k-vyn avatar Jan 10 '19 01:01 k-vyn

@k-vyn, is there any ETA on that?

porada avatar May 27 '19 20:05 porada

@k-vyn I'd love to port https://www.colorbox.io/ directly as a Figma plugin and it will be great to have color locking possibility.

methyl avatar Sep 30 '19 17:09 methyl

Hi, I've reverse engineered the color lock and minor steps feature from ColorBox, I just want to check that it's ok to publish it to my fork of this project? (licensed under the original license of-course) @k-vyn

If so, let me know please, and I can add some docs, tests and examples, and open a PR to merge back to this repo πŸ™‚.

macintoshhelper avatar Mar 14 '20 00:03 macintoshhelper

@macintoshhelper Would love to check your additions! Do you have it public? πŸ™

nahiyankhan avatar May 27 '20 20:05 nahiyankhan

@macintoshhelper Would love to check your additions! Do you have it public? πŸ™

No, sorry, would need permission to use or publish it. I have an open PR with an ES6 refactor though: #13

macintoshhelper avatar May 27 '20 23:05 macintoshhelper

Since this repository is open source, I don’t think you need explicit permission to publish a fork.

porada avatar May 27 '20 23:05 porada

@macintoshhelper Understandable if thats the case! To @porada's point it seems like no permission is needed?

nahiyankhan avatar May 28 '20 14:05 nahiyankhan

Since this repository is open source, I don’t think you need explicit permission to publish a fork.

Reverse engineered (decompiled code) does require explicit permission to use or publish.

I've already published a fork (ES6 + Rollup bundling): https://github.com/elemental-design/coloralgorithm/tree/feat/rollup-build – if there's interest, I can open it up for external contribution. I've been meaning to work on adding bezier curve interpolation (for multiple colour locks) for a while.

While it's not equivalent to color lock, I developed a library that automates hue ranges for you based on hex values (based on top of lyft/coloralgorithm): https://github.com/elemental-design/colors/blob/master/src/index.js .

macintoshhelper avatar May 28 '20 15:05 macintoshhelper

@macintoshhelper @nahiyankhan

Sorry for the long delay, I no longer work at Lyft, so I'm not sure who will take over the responsibility of this repo. This may become inactive.

In any case, for context Lock hex feature was functionality that was built into ColorBox after many people requested it, and it was never re-added into the original Color Algorithm.

I forked this repo, and I did a big revamp of the algorithm and provided a lot more functionality than the original one. Also, I hope it'll be a little easier to understand/develop with.

Check it out here - https://github.com/k-vyn/coloralgorithm

k-vyn avatar Jun 10 '20 22:06 k-vyn

@macintoshhelper @nahiyankhan

Sorry for the long delay, I no longer work at Lyft, so I'm not sure who will take over the responsibility of this repo. This may become inactive.

No problem, thanks a lot for your reply and fork! πŸ™‚ Would be great to have some place for community contribution to the project, I'd be happy to maintain a fork.

macintoshhelper avatar Jun 10 '20 23:06 macintoshhelper

@macintoshhelper @nahiyankhan

Sorry for the long delay, I no longer work at Lyft, so I'm not sure who will take over the responsibility of this repo. This may become inactive.

In any case, for context Lock hex feature was functionality that was built into ColorBox after many people requested it, and it was never re-added into the original Color Algorithm.

I forked this repo, and I did a big revamp of the algorithm and provided a lot more functionality than the original one. Also, I hope it'll be a little easier to understand/develop with.

Check it out here - https://github.com/k-vyn/coloralgorithm

No worries! You did an amazing work with this and it has helped me a lot! I was able to add in the lock functionality too actually. I agree with @macintoshhelper Would love to contribute.

Good luck with your next venture!

nahiyankhan avatar Jun 10 '20 23:06 nahiyankhan

Totally! I agree. I'm planning on maintaining that fork going forward, and I'd love contributions on that repo.

k-vyn avatar Jun 11 '20 01:06 k-vyn