Skip to content

Commit

Permalink
Working on Worley Noise
Browse files Browse the repository at this point in the history
  • Loading branch information
AnadyaNair committed Aug 21, 2023
1 parent 9881503 commit 9af5fea
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Worley Noise/index_html/index_html.pde
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
void setup(){
size(400,400);
}

void draw(){
loadPixels();
for (int x = 0; x < width; x++){
for (int y = 0; y < height; y++){
int index = x + y * width;
pixels[index] = color(random(255));
}
}
updatePixels();
}
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Anadya Nair - Creative Coding</title>
</head>

<body>
<h2>Preview of the programs.</h2>
<li><a href="https://anadyanair.github.io/Creative-Coding/Rose%20Patterns/">Rose Patterns</a></li>
</body>



</html>

0 comments on commit 9af5fea

Please sign in to comment.