-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image for demo #2
Comments
Hey, thanks for the feedback! I think the image you provided works better than the current one so I will just update it.
Some parts of the codebase (e.g.
Do you think I should take action on this or should we handle that in Ratatui? |
Both really. We should generally have many more methods that return results / options instead of panicking, but for now most things should do an area check ( |
Pushed 05fe02c and released |
The image used for the logo is a bit blurry due to several factors:
These can both be fixed to make a higher fidelity image (but it's a bit of work to get it perfect).
Here's a half baked attempt that works ok 160x40. I mainly just resized the logo using linear interpolation and redid the text as 30 pt size (the font is Silkscreen)) with a offset shadow layer that is the width of the character cell.
To get this perfect, you'd need to align the text so that the outlines of each letter start and end at a multiple of the braille character sizing (x = 2, y = 4) and aim to ensure that only a single color is in each 2x4 area. For the logo, it would probably require some pixel editing. The colors for things rendered in braille need to be a bit brighter also to avoid the background washing them out.
I noticed that rendering at double this pixel density (e.g. a 320x160 image instead of 160x40 here renders pretty slowly).
Also, there's a bug that causes a panic if the render area > buffer size (this is something in a lot of widgets, which I try to generally stamp out when possible).
If you want to start with something higher fidelity than the existing png, then take a look at the gimp xcf file in the website repo.
The text was updated successfully, but these errors were encountered: