Created
November 21, 2022 18:58
-
-
Save BenjaminSantiago/8fd8d2e546307d7d6e82ad405f58fe55 to your computer and use it in GitHub Desktop.
our keyboard example with the CPX and Processing; the Processing side
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def setup(): | |
background(255) | |
size(500,500) | |
def draw(): | |
pass | |
def keyReleased(): | |
if key == 'a' or key == 'A': | |
background(255,0,255) | |
if key == 'b' or key == 'B': | |
background(0,255,255) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment