microsoft / microsoft/pxt-microbit
Support simulation of display rotation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
With the pxt-rotate extension, it's possible to create nice examples that show how mobile phone accelerometer is used to update the display rotation based on device orientation.
This has been requested by micro:bit teachers in Slack (which is why the extension was created) and it's hard to do with the icons and text otherwise.
However, right now, the CODAL feature for display rotation isn't supported on the simulator.
It would be great to have a design for this. Initially it could just be that the display rotates simply, but as it is most likely related to a kind of micro:bit motion that we can't do on the sim we may want to consider wider changes.
See also:
https://github.com/lancaster-university/codal-microbit-v2/pull/227
CC @bsiever @finneyj
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
Start by reviewing the pxt-rotate extension and the linked CODAL display-rotation pull request, then locate the micro:bit simulator's display and motion handling. Done should include an agreed design and simulator behavior that demonstrates display rotation, while accounting for whether broader simulated motion changes are needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- embedded-iot, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100