Note that I would be uncomfortable with the pingpong ball you picked (depending on where it will be and what will be around it) - that looks like a real pingpong ball. They're made with nitrocellulose, and hence are very flammable (take the scraps from that ball outside, hold in tongs, and try to ignite it - if they burst into flames, they're the nitrocellulose ones). I use the cheapo ones, which feel like they're just plain old polypropylene or polyethylene - they're not as good as diffusers though, so I cut them in half and glued one half inside the other, and that looks much better.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Pingpong balls are awesome for that.
(both of those strings are running Espruino on ESP8266's - code is here: https://github.com/SpenceKonde/AzzyProjects/blob/master/Animate/Version8.js )
Note that I would be uncomfortable with the pingpong ball you picked (depending on where it will be and what will be around it) - that looks like a real pingpong ball. They're made with nitrocellulose, and hence are very flammable (take the scraps from that ball outside, hold in tongs, and try to ignite it - if they burst into flames, they're the nitrocellulose ones). I use the cheapo ones, which feel like they're just plain old polypropylene or polyethylene - they're not as good as diffusers though, so I cut them in half and glued one half inside the other, and that looks much better.
1 Attachment