Answers for "random number between processing"

4

random processing

for (int i = 0; i < 100; i++) {
  float r = random(0,50); //Low, High
  line(50, i, 50+r, i);
}
Posted by: Guest on March-11-2020
0

none

for (int i = 0; i < 100; i++) {
  float r = random(50);
  stroke(r*5);
  line(50, i, 50+r, i);
}
Posted by: Guest on December-07-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language