Enhance dance choreography and add floating hearts#224
Open
Shiyx27 wants to merge 1 commit into
Open
Conversation
Updated text to include floating hearts and improved dance choreography explanation.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the “Build a Pocket Rave with Arduino” tutorial to add a short explanation for floating heart particle effects and to expand the dance choreography/lyrics (“teleprompter”) sections.
Changes:
- Adds a new section describing floating heart particle effects with a small bitmap animation snippet.
- Expands the dance choreography section with additional explanatory text and placeholders for visuals.
- Adds a new “Digital Teleprompter” section with an
if / else iflyrics example.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| int heart1_Y = 64 - ((timeNow / 40) % 70); | ||
| display.drawBitmap(120, heart1_Y, heart_bmp, 5, 5, SSD1306_WHITE); | ||
| ``` | ||
| GIF OF FLOATING HEARTS IN OLED GOES HERE |
| display.drawCircle(); | ||
| display.drawLine(); | ||
| ``` | ||
| GIF OF STICK MAN DANCING w HEARTS GOES HERE |
| int danceBeat = (timeNow / 230) % 2; | ||
| int guyY = 25 + (danceBeat == 1 ? -4 : 0); | ||
| ``` | ||
| ``` |
Comment on lines
+174
to
+177
| ### 6. The Digital Teleprompter : | ||
| Now for the final piece....drumrollls...the lyrics! This is where you get to customize the code to match your own favorite song. | ||
|
|
||
| We use an `if / else if` statement like a movie script. The Arduino checks our millis() stopwatch to see what "phase" of the song we are in, and prints the correct lyrics to the screen! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated text to include floating hearts and improved dance choreography explanation.
Closes #issue
mdx..mdxfile follows the project template, as well as what's recommended in the content guidelines.