@JDeut wrote:
Hi all -
I’m new to OF and new to C++, so I’m working slowly through the book.Generally, I like to learn by figuring out little modifications to the examples provided.
For example 1_ii_b Bursting_Rect_Brush, I’d like to be able to do two things:
Stop the color from refreshing when the mouse is not pressed.
Randomly toggle between ofDrawRect and ofDrawCircle. The ofDrawRect is located inside of a For loop. I’m imagining there is a way to create an array of modules and some kind of “choose” method, so that each iteration of the For loop makes a selection. I just have no idea how to do this.
Any suggestions?
Posts: 2
Participants: 2