Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Loop creating circles

$
0
0

@HarryLee186 wrote:

Hi, I’ve got the below code

if (byteData > 50) {
for (int i = 1; i <= 20; i++) {
ofCircle(+60, +60, 100);
}
}

However it’s currently just making one big circle rather than 20 different circles(which is what I want). I also want the circles to be scattered around the screen and after that intend to make them float around(almost like a particle effect), so if someone can point me in that direction that’d be great! For now though, I’m trying to figure out why it’s not creating multiple circles.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles