joshwcomeau/react-retro-hit-counter

More legible segments

Open

#1 opened on Jan 28, 2018

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (165 stars)
PR merge metrics
 (PR metrics pending)

Description

This component mimics a "seven-segment display": https://en.wikipedia.org/wiki/Seven-segment_display

I chose a simple implementation at first: each segment is exactly the same shape and size, and I'm just rotating them around.

Unfortunately, this means the end result isn't as legible as it could be, especially with thicker segments. Compare this component to another seven-segment display using trapezoids around the edge pieces:

current alternative

I think it would be good to move towards that alternative version, as the numbers are much easier to read.

Contributor guide