Add 7-color ACeP color scheme (Bwgbryo) + Inkplate 6COLOR palette#43
Closed
brandon-dacrib wants to merge 2 commits into
Closed
Add 7-color ACeP color scheme (Bwgbryo) + Inkplate 6COLOR palette#43brandon-dacrib wants to merge 2 commits into
brandon-dacrib wants to merge 2 commits into
Conversation
- ColorScheme::Bwgbryo = 8: 7-color ACeP, color order = panel native nibbles (black0 white1 green2 blue3 red4 yellow5 orange6) - INKPLATE_6COLOR measured palette (nominal RGB; TODO measure) in CATALOG - Python ColorScheme.BWGBRYO mirror + INKPLATE_6COLOR export - Tests: palette count=7, value=8, native-order guard Verified: pure colors dither to indices [0..6] matching the panel nibbles. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Hardware calibration: the panel's raw inks photograph very desaturated (green contaminated by ghosting), so nearest-color matching sent vivid greens->yellow and blues->black. Replaced with hue-representative values so all 7 source colors select the correct ink (verified: pure swatches dither to nibbles 0..6). The panel still renders its own (muted) ink per nibble; these values only drive matching. TODO: precise tone-accurate measurement on a ghosting-cleared panel. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Author
|
Closing this because we are no longer pursuing the OpenDisplay integration path for Inkplate 6COLOR. The BWGBRYO palette work was useful for the proof of concept, but the chosen Home Assistant path is now Soldered's ESPHome component: https://github.com/SolderedElectronics/Soldered-Inkplate-ESPHome. Keeping this PR open would add an unused OpenDisplay host-rendering path for a board whose supported stack renders locally in ESPHome. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a 7-color ACeP color scheme for the Soldered Inkplate 6COLOR (600×448, panel_ic_type
0x0043):ColorScheme::Bwgbryo = 8(Rust corepalettes.rs+ Pythonpalettes.py). Color order matches the panel's native nibble codes:black0 white1 green2 blue3 red4 yellow5 orange6— so dither indices map directly to panel nibbles (no remap, unlikeBwgbry).INKPLATE_6COLORmeasured palette inmeasured_palettes.rs+CATALOG, exported in the Python package.Testing
cargo test— 44 core tests pass (incl. the new ones).[0..6]matching the panel nibbles.Note: palette is nominal (calibration TODO)
The
INKPLATE_6COLORRGB values are nominal placeholders (marked TODO, likeMONO_4_26/BWRY_4_2). On hardware, saturated greens/reds currently match to the nearest nominal ink (green tends toward yellow). Measuring the actual panel inks (as theSPECTRA_7_3_6COLORentries were) will sharpen hue accuracy — happy to follow up with measured values.Related
🤖 Generated with Claude Code