 for the circuit python parsec today i wanted to talk about how to light up a bunch of random pixels using bitmap in display i o so here you can see i have a single green pixel lit up in the center of this display you can barely see it there one little dot and this is a 320 by 240 display so that's one little lonely dot uh so the way this is done right now and it'll get cooler in a moment is i've got display i o setup this is a little tft feather wing running on a feather m4 and i am creating a bitmap object that is the width and height of the display and i'm giving it a four color palette that's how many colors it can use when it draws i've set up that palette and i've set up a tile grid to hold the bitmap and that's inside of a main group for the display i've set up my palette as these four colors black red green and blue and then right now all we're really doing is lighting up this one bitmap you can see here if i add a few more to this and hit save you're going to see four little a little cluster of four dots there looks a little like a fuzzier bigger dot right but now it gets interesting when in my main loop instead of just passing what i'm going to do is use randomness to pick a random x y location on the bitmap because the bitmap covers the whole screen in this case so i'm going to pick one pixel at a time and i'm going to randomize my color among the four choices of the palette and then i'll display it with a tiny little bit of time and repeat so if i save this now you're going to see we get this nice sort of snow pattern kind of like tv snow i don't have white in there so so it doesn't look quite like snow but that is a really simple way to scatter a whole bunch of pixels around just using one bitmap the bitmap is used for drawing things lines boxes and so on they're all just routines or loops inside of the bitmap to pick which pixels you're showing and this is a really nice way to randomize that so this is how you can display some multicolored snow using bitmap inside of circuit python and that is your circuit python parsec