Skip to content

Comments

palette protocol#65

Open
itepastra wants to merge 13 commits intomainfrom
palette-protocol
Open

palette protocol#65
itepastra wants to merge 13 commits intomainfrom
palette-protocol

Conversation

@itepastra
Copy link
Owner

@itepastra itepastra commented Dec 11, 2024

Adds a feature for a palette based protocol,
where a random 256 color palette is generated and clients can only use those to write to the canvas

closes #6

  • add Clone and to_bytes() to Color as utilities
  • add the palette protocol, with up to 256 colors in the palette
  • feature flags for use statements
  • make the writes and flush await
  • initialize with random palette
  • rename constant to be more descriptive
  • add test for parsing palette set command

@itepastra itepastra requested a review from peppidesu December 11, 2024 11:00
@itepastra itepastra removed the request for review from peppidesu September 26, 2025 19:41
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.

It may be fun to add palette based commands to the protocols.

1 participant