Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display icons on arbitrary grid size #1

Open
3 tasks
qr8r opened this issue Oct 26, 2022 · 0 comments
Open
3 tasks

Display icons on arbitrary grid size #1

qr8r opened this issue Oct 26, 2022 · 0 comments
Assignees

Comments

@qr8r
Copy link
Owner

qr8r commented Oct 26, 2022

Problem

We want to be able to display icons in a grid of arbitrary size. Create a sample icon (happy face, rocket, etc.) and store the icon "template" as a constant.

Then design a function that can render a pixel map of that icon on a display of arbitrary size.

Bonus. Design a function which can return the set of screen states necessary to animate the icon scrolling across the screen,

Deliverable

  • There is a place that icon templates can be created and added to
  • There is a funcitonthat accepts an icon and a grid size ( maybe scale) and returns the pixel array representing the icon on the screen
  • There is a function which accepts an icon and a grid size and returns a set of arrays representing a scroll animation for the icon on the screen
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

No branches or pull requests

2 participants