-
How do you set up a class? Unable to find an example.
Edited to add self as display and rect parameters. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hi @vsquared ! There is an example of py5 in class mode documented on the website. That isn't going to tell you everything you need to know about object oriented programming in Python though. There are lots of good resources for that available online, and I recommend reading them to help you here. |
Beta Was this translation helpful? Give feedback.
-
This works on my mac:
|
Beta Was this translation helpful? Give feedback.
-
You could create a list called |
Beta Was this translation helpful? Give feedback.
This works on my mac: