symengine
hsluv
Our great sponsors
symengine | hsluv | |
---|---|---|
5 | 14 | |
1,094 | 1,253 | |
2.7% | 0.5% | |
7.2 | 5.0 | |
13 days ago | 3 months ago | |
C++ | Mustache | |
GNU General Public License v3.0 or later | 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.
symengine
-
C++ library for solving EQUATIONS
SymEngine will do this: https://github.com/symengine/symengine
-
Maxima: A computer algebra system written in Common Lisp
If you need programmability or interoperability, Sympy is way nicer. If you just want an interactive symbolic calculator, Maxima is fine but sometimes quirky (has odd conventions due mainly to its age). As heisig points out, Maxima can be quite a bit faster (but I run into slow things with it too). Using Maxima via Sage is in some ways the best of both worlds.
You may also be interested in SymEngine: https://github.com/symengine/symengine
-
Help rendering LateX equation to image format
Context: I'm making a application for robotics calculations, making symbolic calculations using (symengine), and at some point I would like to be able to see the steps of these calculations, symengine has a function that returns the latex code do the elements you want. So I was trying to find a library or something of sorts to render that text into an image, I'm using Dear IMGUI in the docking branch to make a simple UI where I would like to display these equations. I know it might not even exists but I would like to give it a try. I found KLateXFormula, which depends on Qt as far as I understood, so I would like to avoid that if possible, I also studied a bit about the TeXStudio repo and found they use Qt to render previews. I also tried to understand the miktex repo searching for a function that I could use, but I barely understood the structure of the repo. I'm getting frustraded. I also found approaches where people would call latex executables to parse latex to DVI(Or something like this) but I would also like to avoid this approaches if possible.
-
Announcing Savage, a computer algebra system written in Rust
- Might there be any way to leverage the work of https://github.com/symengine/symengine ? I assume a straight-up language binding to symengine might be a completely separate project, but possibly for some specific features symengine, maybe... (It is a pity they chose c++ and not rust to implement symengine in. In the end, the main target seems python/sympy here and not c++.)
- How do you deal with the fact that all the math, physics you did in university is pretty much useless in the workplace because you don't need them and your position doesn't require you to know them?
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/
What are some alternatives?
ceres-solver - A large scale non-linear optimization library
hcv-color - 🌈 Color model HCV/HCG is an alternative to HSV and HSL, derived by Munsell color system, usable for Dark and Light themes... 🌈
latex-online - Online latex compiler. You give it a link, it gives you PDF
gdscript-hsluv - A HSLuv implementation in Godot's GDScript
maxima-client - Maxima client
as3hx - Convert AS3 sources to their Haxe equivalent
ExprTK - C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html
palettize - Palette generator using k-means clustering with CIELAB colors
Rust-CAS - Rust Computer Algebra library
snekky - The Snekky Programming Language
maxima-jupyter - A Maxima kernel for Jupyter, based on CL-Jupyter (Common Lisp kernel)
gimp-color-palettes - A collection of RGB color palettes for GIMP and Inkscape (but also Aseprite, Drawpile, Krita and MyPaint).