Looking for a way to make a vector with random numbers and than use that for x or y positions of multiple circles (maybe also from a vector?).

Looking forward to hearing from you

Looking for a way to make a vector with random numbers and than use that for x or y positions of multiple circles (maybe also from a vector?).

Looking forward to hearing from you

Like this?

```
vector<int> randomNumbers;
for(int i=0; i<numCircles; i++)
randomNumbers.push_back(ofRandom(0, 1200)); // Range 0-1200
```

2 Likes