Skip to content
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

Betterbetterblittle #3

Merged
merged 8 commits into from
Jul 31, 2024
Merged

Betterbetterblittle #3

merged 8 commits into from
Jul 31, 2024

Conversation

michielp1807
Copy link
Collaborator

@michielp1807 michielp1807 commented Jun 13, 2024

  • Use the Oklab color space to compare colors
  • Better algorithm for selecting the best two colors for a character with more than two colors, this new algorithm takes color distances into account
  • Add x, y position to drawBuffer function to easily draw a buffer at a certain location
  • Improved performance by mapping colors to values between 1 and 16

Current performance compared to current main BetterBlittle version1:

CraftOS-PC CraftOS-PC Accelerated
Default screen size 6.5% slower 36.6% faster
Full screen (1440p) 7.8% slower 46.5% faster

Footnotes

  1. Based on a test drawing many frame buffers filled with random colors

@Xella37 Xella37 merged commit 33ba780 into main Jul 31, 2024
@Xella37 Xella37 deleted the betterbetterblittle branch July 31, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants