nattynarwhal / colours Goto Github PK
View Code? Open in Web Editor NEWcolour schemer
License: MIT License
colour schemer
License: MIT License
possible to fix: attach w/ || to (hi == 4)? the problem seems to be when hi == -2....
this way, the UI can be separate (so a GTK#/whatever) UI could be written
Currently, if you drag in the colour grid with a finger, it'll move. This isn't the right behaviour. You should have to hold and drag to move, and scrolling no matter the target (table/panel/button) should work as expected.
In a RIFF container, well documented and simple format.
Makes palette support a lot simpler, but it means frontends now have to convert on the fly and hopefully avoid lossy conversions. I suggest an IColour
interface with a ToRgb
function specification.
byte.MaxValue (that is, RgbColor's maximum values for each channel) is 255, but for optimal shifting into a ushort, we want 256, otherwise we come up one short. If we ++ though, then 0 is obviously too large. This affects Photoshop palette management and likely the GTK frontend.
gpick has a lot of interesting types:
consider them as a feature. allow user-made ones, possible readymades, and export functions.
A lot of this is probably due to ColorButton presumptions.
It'd be nice to export colour sheets, possibly as HTML or print (allowing PDF/whatever)
Have an 8-bit representation available (R/G/B8) as needed, but this allows for greater colour resolution when interfacing with things that support it, like GDK, NSColor, Adobe formats, as well as colourspace conversions.
GTK needs to work w/ Colour Book palettes in addition to Gimp. Windows Forms has been rewritten for it, but it'll likely topple over. I suggest using a PropertyGrid.
<At this point in time, GTK and WinForms will no longer be developed in tandem; it's slowing development and on Unix, I use Agave et al. I'll still keep the backend cross-platform.>
would it be best to such things in VS? gconf?
Adobe's more modern palette format. Poorly documented, still binary.
the GTK version inherits an eyedropper from the color chooser buton class. it'd be nice to have this on windows too.
From what I can see, its in a "streamtyped" format - a proprietary Apple binary serialization format. NSUnarchiver can interpet it, but this is a native Mac API. Might be worth supporting a theoretical Mac versions.
this will allow for translation and type safety
May require re-architecting Palette and associated forms to support different kinds of metadata.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.