Hi there! I have been working on this loop recently and it is almost perfect, but I want to make little variations between points and when I use random on hue, or saturation or brightness all of them are the same. Could you please help me with this?
float u = 0;
float v = 0;
float w = 0;
size(1000,1000);
colorMode(HSB, 360, 100, 100);
strokeCap(ROUND);
stroke(random(295,305),100,100);
for (int x = 0; x < 1000; x += 12) {
for (int y = 0; y < 1000; y += 12) {
u = u + 0.1;
v = v + 0.11;
w = w + 0.1;
float n = noise(u) * 1000;
float m = noise(v) * 1000;
float l = noise(x/100.0, y/100.0)*18;
strokeWeight(l);
point(n,m);
}
}
float u = 0;
float v = 0;
float w = 0;
void setup(){
size(1000,1000);
colorMode(HSB, 100, 100, 100);
}
void draw(){
background(0);
strokeCap(ROUND);
stroke(random(0,100),100,100);
for (int x = 0; x < 1000; x += 12) {
for (int y = 0; y < 1000; y += 12) {
u = u + 0.1;
v = v + 0.11;
w = w + 0.1;
float n = noise(u) * 1000;
float m = noise(v) * 1000;
float l = noise(x/100.0, y/100.0)*18;
strokeWeight(l);
point(n,m);
}
}
}
Hi
Replacing point with small circle close to your demand if it’s fine with you
float u = 0;
float v = 0;
float w = 0;
void setup(){
size(1000,1000);
colorMode(HSB, 100, 100, 100);
}
void draw(){
background(0);
//strokeCap(ROUND);
//stroke(random(0,100),100,100);
for (int x = 0; x < 1000; x += 12) {
for (int y = 0; y < 1000; y += 12) {
u = u + 0.1;
v = v + 0.11;
w = w + 0.1;
float n = noise(u) * 1000;
float m = noise(v) * 1000;
float l = noise(x/100.0, y/100.0)*18;
//strokeWeight(155);
fill(random(0,100), random(0,100), random(0,100));
ellipse (n,m,1+l,l+1);
noLoop();
}
}
}
Thank you so much @jafal . Could you help me with something else? I have replaced ellipses for rect swith different type of corners to make it a litlle more organic. I would like to revitalize it giving every dot a different rotation, but obviously is not like this!
float u = 0;
float v = 0;
float w = 0;
void setup(){
size(1000,1000);
colorMode(HSB, 100, 100, 100);
}
void draw(){
background(0);
for (int x = 0; x < 1000; x += 12) {
for (int y = 0; y < 1000; y += 12) {
u = u + 0.1;
v = v + 0.11;
w = w + 0.1;
float n = noise(u) * 1000;
float m = noise(v) * 1000;
float l = noise(x/100.0, y/100.0)*20;
noStroke();
fill(random(0,100), random(0,100), random(0,100));
//rotate(PI/random(1,5));
rect(n,m,l,l,random(0,100), random(0,100), random(0,100), random(0,100));
noLoop();
}
}
}
Yeah , that is Life: everything random
Here se can see all the dots are paralelo and I would like to make some of them more leaning. Do you think there is an easy way?
float u = 0;
float v = 0;
float w = 0;
void setup(){
size(1000,1000);
colorMode(HSB, 100, 100, 100);
}
void draw(){
background(0);
for (int x = 0; x < 1000; x += 12) {
for (int y = 0; y < 1000; y += 12) {
u = u + 0.1;
v = v + 0.11;
w = w + 0.1;
float n = noise(u) * 1000;
float m = noise(v) * 1000;
float l = noise(x/100.0, y/100.0)*200;
noStroke();
fill(random(0,100), random(0,100), random(0,100));
//rotate(PI/random(1,5));
rect(n,m,l,l,random(0,100), random(0,100), random(0,100), random(0,100));
noLoop();
}
}
}