Comments (2)
The library is being refactored so it can support more complex operations. These new operations will allow you to edit colors based on how humans actually observe color. This will allow features such as emulating color blindness, more fluid gradients, better schemes, etc.
At the moment, half the unit tests are now broken or depreciated, and until the refactoring is done more and more tests will break. Unit testing fixes will come a few commits down the road after the refactor is complete. Until then please use the following code to revert to a more stable commit:
git reset --hard dfd287476deee32bc5200ab06988dc9db84ed4ed
That commit should be pretty stable. However, please keep in mind that this library is in its developmental phase. Despite how simple it appears, the mathematics and operations needed to manipulate colors in programming can be very complex, and there are often several official ways to do what is supposed to be the same thing.
I will update and close this issue and when the refactor is complete, so you can start using the latest development again.
Sorry for any convenience this has caused. I will fix it as soon as I am able to.
from php-color.
Hi ProjectCleverWeb,
Thanks for the reply. I just wanted to report broken PHP 7 version - and it's not only about the tests, but the normal runtime too. :) All you have to do to reproduce it is just simple new projectcleverweb\color\main('#ffffff')
on PHP7.
I've already forked this lib with reverted last commit yesterday but thanks for the advice.
I'm sure it was not easy to handle all the equations. Overall this library does a great job if it comes to color manipulations in the PHP - thank you for developing and sharing it!
Best,
I.
from php-color.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-color.