Design a Sketch that uses Dom Elements
- Kimberly Agosto
- Dec 9, 2018
- 1 min read
The sketch I created uses buttons to change the colors of the background. I had to use css code to create these buttons and customize them.
A challenge of mine was figuring out how to change the button background and text color if I hovered over it, but more searching of p5 reference helped me get the code I needed.

code: https://editor.p5js.org/kimagosto/sketches/S12wGMjJE
コメント