microsoft / microsoft/pxt-microbit
Beta: Neopixels in simulator - graphics alignment is confusing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Describe the bug
The alignment of the "live" squares with the circles of the strip graphic behind is confusing, making it seem like the first pixel is not lit.
Arising from https://support.microbit.org/helpdesk/tickets/63295 (private)
To Reproduce
Steps to reproduce the behavior:
- Load https://makecode.microbit.org/_D7bVAgdLYdEr
- See white circle above strip
Expected behavior
The graphics are aligned.
Screenshots
micro:bit version (please complete the following information):
not hardware related
Desktop (please complete the following information):
- OS: [e.g. iOS] Windows
- Browser [e.g. chrome, safari] Chrome
- Version [e.g. 22] 113
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Load the linked MakeCode project to reproduce the misalignment, then trace the simulator's Neopixel strip rendering. Done means the live squares align with the strip's circles so the first pixel appears lit correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100