hsluv
console
hsluv | console | |
---|---|---|
14 | 20 | |
1,253 | 3,177 | |
0.2% | 2.6% | |
5.0 | 8.5 | |
3 months ago | 9 days ago | |
Mustache | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hsluv
-
Koala Sampler Hardware, Quantum Looping, and more with Marek! 🎹🔑106
Here's a potential solution to having consistent accessible color palettes in Koala: https://www.hsluv.org
-
accidental-scheme.nvim
If you want to take a step further, take a look into perceptually uniform color spaces, like HSL(uv) or LCh(uv).
-
Maxima: A computer algebra system written in Common Lisp
Maxima enabled me to make my color space [HSLuv](https://www.hsluv.org/). I encoded CIELUV <-> RGB transformation functions into Maxima, ran `solve` and converted the output back into code. It's great to be able to commit [Maxima code](https://github.com/hsluv/hsluv/tree/master/math) into your repository and not leave the math as an "exercise to the reader".
- How to import color space? (HSLuv)
-
HTML Color Picker
If you want to make it more useful than a browser's built-in color picker, perhaps support other color spaces? Maybe HSLuv or CIE L*a*b*?
-
Pallete Sorting?
Chroma could be included, but as a minor criterion. When I look at color pickers that try to balance human perception against geometric simplicity like HSLuv and Okhsl, chroma is the property that gets distorted the most. Perceptual brightness and hue seem to be more important.
-
Make Beautiful Gradients
> Now, HSL isn't necessarily the best color mode to use in every situation; it tends to produce gradients that can be overly bright and vivid, because it doesn't take into account human perception.
Shout-out to to [HSLUV](https://www.hsluv.org/) which does exactly that.
-
Tokio Console
I'm a little bit of a color freak. Allow me to leave some suggestions :)
- Picking from the 256 color pallete will likely give you colors with different brightness. This may hurt readability of darker colors on a dark background, and may make some color stand out unintentionally. Consider using something like HSLuv [1] to pick colors with the same lightness, then convert to the closest Xterm color [2].
- To make it obvious there is a gradient, I'd pick one lightness (assuming HSLuv) and one saturation (I usually stick to 100%), then pick a distance in hue for each step. For example if I expect to see a maximum of 7 steps on the screen at once, one way is to start at 0, then 30, then 60, etc. You may choose to go over 180, but keep in mind 360 will be the same as 0 so maybe stop at 240. Note how by picking adjacent colors from the table you are still picking a distance, but the distance is too small so it's hard to see.
- You may want to choose a different starting point than 0, and maybe different direction for the steps, depending on whether you want the colors to "mean" anything. For example red is commonly associated with warning, so you can arrange to have the top of the range aligned with red. Or arrange to avoid the red region if you don't want that association.
[1] https://www.hsluv.org/
-
So, I want a genuine explanation for this. Why is "darkgrey", a lighter shade than "grey"?
Check out HSLuv as an alternative for UI design: https://www.hsluv.org/
-
I made a GDScript port of HSLuv
HSLuv is a HSL alternative, which aims to maintain the perceived lightness of colors across the hue spektrum. It also includes a HPLuv variant, which additionally maintains saturation, at the cost of color coverage. Both are very useful for procedually generating or modifying colors. More Info: https://www.hsluv.org/comparison/
console
-
Rust Tooling: 8 tools that will increase your productivity
tokio-console is a debugger for Rust async programs that use Tokio. To get started, add the console-subscriber crate to your project and add the following line which will initialise the subscriber and allow tokio-console to connect to it:
-
How to detect lock contention in rust?
You could try https://github.com/tokio-rs/console to debug and profile what happens with tokio tasks in your program.
-
Using Rust at a startup: A cautionary tale
The tokio-console CLI is a fun one. The console-subscriber supports shipping to a console server running elsewhere, apparently. That gives you a window into what's happening now.
-
Hey Rustaceans! Got a question? Ask here! (42/2022)!
Tokio console maybe? https://github.com/tokio-rs/console
-
use both of tracing-subscriber and tokio-soncole
If I add "console_subscriber::init()" line as https://github.com/tokio-rs/console recommends, tracing_subscriber cannot be initialized.
-
Any recommendations for profiling High performance rust code?
I'm building an HTTP load tester called pdc! I have run out of obvious (to me at least) places to look for performance gains. I'm achieving around 45,000 requests per second, per core. Right now I'm using hyper with a separate tokio runtime (in current thread mode) running on each core. So far having runtime on each core/NUMA node has really helped with cache coherency. Any recommendations for profiling beyond tokio console or tokio metrics (Convenient timing amirite!)?
-
Announcing `tracing` 0.1.30 with experimental `valuable`support!
It was just an accident and has been fixed https://github.com/tokio-rs/console/issues/270.
-
[Question] Is Tokio a poor fit for non-network related concurrent applications?
P.S. Tokio [now also has Tokio Console](https://github.com/tokio-rs/console) allowing you to conveniently troubleshoot your tasks if they are causing issues :)
-
How do I profile a Rust web application in production?
You can opt-in to async runtime such as tokio, and you can use tokio-rs/console for it's top-like metric
- `tokio::spawn` to handle `actix` message doesn't wait?
What are some alternatives?
hcv-color - 🌈 Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... 🌈
mirage - MirageOS is a library operating system that constructs unikernels
gdscript-hsluv - A HSLuv implementation in Godot's GDScript
tracing - Application level tracing for Rust.
as3hx - Convert AS3 sources to their Haxe equivalent
loom - Concurrency permutation testing tool for Rust.
palettize - Palette generator using k-means clustering with CIELAB colors
prost - PROST! a Protocol Buffers implementation for the Rust Language
snekky - The Snekky Programming Language
evcxr
gimp-color-palettes - A collection of RGB color palettes for GIMP and Inkscape (but also Aseprite, Drawpile, Krita and MyPaint).
delve - Delve is a debugger for the Go programming language.