# Shake Away 2021 with MatrixPortal

## Overview

Shake away those 2021 blues with a MatrixPortal project that will help you celebrate the end of one year, and the bright-and-shiny promise of a new year!

Here are a couple of pre-compiled .UF2 files. To install,&nbsp;connect MatrixPortal to computer with USB cable.&nbsp;Double-tap the reset button, wait for **MATRIXBOOT** drive to appear and drag one of the .UF2 files to **MATRIXBOOT**.

Both start with “2021” on the matrix. With a quick shake, it’s reduced to pixel sand.

The first of these UF2s then switches to the glimmering “2022” after a few seconds of sand ( **six seconds** from the shake, if you’re counting down to midnight). Tap the reset button to start over.

[2021-2022-Sand.UF2](https://cdn-learn.adafruit.com/assets/assets/000/107/305/original/2021-2022-Sand.UF2?1639443903)
The other UF2 instead returns to 2021 and watches for another shake:

[2021-Sand.UF2](https://cdn-learn.adafruit.com/assets/assets/000/107/306/original/2021-Sand.UF2?1639443921)
Here’s an earlier 2020–2021 animation…there are settings in the code so it can be updated each year.

![](https://cdn-learn.adafruit.com/assets/assets/000/098/274/medium800thumb/led_matrices_ezgif-3-eeb452e5609f.jpg?1609357218)

If you'd like to check out the code, [it's based off of the Protomatter Pixeldust demo](https://github.com/adafruit/Adafruit_Protomatter/tree/master/examples/pixeldust), where we use a bitmap of the year’s text for the pixels.

Click **Download Project Zip** in the embed below to get both the Arduino sketch and the extra files that store the bitmaps.

https://github.com/adafruit/Adafruit_Learning_System_Guides/blob/main/2020_shake/2020_shake.ino

The year bitmaps started as 64x32 pixel PNG images that were converted to C header files through the [media2array.py](https://github.com/adafruit/Adafruit_Media_Converters) Python script.


## Featured Products

### Adafruit Matrix Portal - CircuitPython Powered Internet Display

[Adafruit Matrix Portal - CircuitPython Powered Internet Display](https://www.adafruit.com/product/4745)
Folks love our [wide selection of RGB matrices](https://www.adafruit.com/category/327) and accessories, for making custom colorful LED displays... and our RGB Matrix Shields and FeatherWings can be quickly soldered together to make the wiring much easier. But what if we made it...

In Stock
[Buy Now](https://www.adafruit.com/product/4745)
[Related Guides to the Product](https://learn.adafruit.com/products/4745/guides)
### Adafruit Matrix Portal Starter Kit - ADABOX 016 Essentials

[Adafruit Matrix Portal Starter Kit - ADABOX 016 Essentials](https://www.adafruit.com/product/4812)
If you missed out on [AdaBox016](https://www.youtube.com/watch?v=Yr3F8EBAVBU), it's not too late for you to pick up the parts necessary to build many of the projects! It doesn't come with tissue paper or the nifty extras, but it does have all the electronic goodies you...

In Stock
[Buy Now](https://www.adafruit.com/product/4812)
[Related Guides to the Product](https://learn.adafruit.com/products/4812/guides)

## Related Guides

- [Adafruit MatrixPortal M4](https://learn.adafruit.com/adafruit-matrixportal-m4.md)
- [Matrix Portal Money-Sensing Tip Jar](https://learn.adafruit.com/matrix-portal-money-sensing-tip-jar.md)
- [LED Protest Sign](https://learn.adafruit.com/led-protest-sign.md)
- [Weather Display Matrix](https://learn.adafruit.com/weather-display-matrix.md)
- [Halloween Countdown Display Matrix](https://learn.adafruit.com/halloween-countdown-display-matrix.md)
- [RGB Matrix Automatic YouTube ON AIR Sign](https://learn.adafruit.com/rgb-matrix-automatic-youtube-on-air-sign.md)
- [Matrix Portal Flow Visualizer](https://learn.adafruit.com/matrix-portal-flow-visualizer.md)
- [RGB Matrix New York Times Title Scroller](https://learn.adafruit.com/rgb-matix-nyt-text-scroller.md)
- [IoT Twitter Listener Party Parrot](https://learn.adafruit.com/iot-twitter-listener-party-parrot.md)
- [Use an art canvas to diffuse an RGB matrix](https://learn.adafruit.com/use-an-art-canvas-to-diffuse-rgb-matrix.md)
- [Matrix Portal M4 Boxing Interval Timer](https://learn.adafruit.com/matrix-portal-m4-boxing-interval-timer.md)
- [LED Matrix Display for Bitmap Pixel Art and Animation](https://learn.adafruit.com/pixel-art-matrix-display.md)
- [Animated GIF Player for Matrix Portal](https://learn.adafruit.com/animated-gif-player-for-matrix-portal.md)
- [Network Connected RGB Matrix Clock](https://learn.adafruit.com/network-connected-metro-rgb-matrix-clock.md)
- [RGB Matrix Portal Room CO2 Monitor](https://learn.adafruit.com/matrix-portal-room-co2-monitor.md)
- [Scroll an SMS Text Message on your RGB Matrix](https://learn.adafruit.com/scroll-an-sms-text-message-on-your-rgb-matrix.md)
