Last active
December 15, 2019 22:51
-
-
Save sasaki-shigeo/bd4eb39ff71792f83cd6f837a0c86384 to your computer and use it in GitHub Desktop.
A demonstration of the Perlin noise: the sky and cloud. / パーリンノイズのデモ:空と雲
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void setup() { | |
| size(500, 500); | |
| colorMode(HSB, 360, 1.0, 1.0); | |
| } | |
| void draw() { | |
| for (int i = 0; i < width; i++) { | |
| for (int j = 0; j < height; j++) { | |
| stroke(210, noise(i / 60.0, j / 60.0, frameCount / 60.0), 1.0); | |
| point(i, j); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment