This programs demonstrates the MakeCode Arcade Extension breathing-circles-good. The program draws expanding concentric circles, then deletes them in reverse order, creating a breathing effect. The code is simple because of the features of the Circle and CircleList extensions. "Good" in the extension name indicates that it uses circle-ext-good in a good, better best series.
Click the link in the About section to the right to open the program in a browser. Button A pauses the program until Button A is pressed again. Button B freezes the current screen as a background and continues breathing. Arrow Buttons move the center of the concentric circles creating an artistic effect.
To edit this program in MakeCode.
- open https://arcade.makecode.com/
- click on Import then click on Import URL
- paste the repository URL and click import
This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.
- for PXT/arcade
- for PXT/arcade (The metadata above is needed for package search.)