For this project, I decided to experiment with the Perlin noise function noise() to control the rotation angles of a stack of polygons. I started with the an offset value that incremented in a really small magnitude (0.001), within the range of 0 to 45 degrees, just to test out the general effect on the appearance of the stacks.
The results were not that interesting as the change in the rotation angles was minimal. In addition, I wanted more color, so I used Perlin noise again to vary the Hue value for each of the rectangles (after switching to the HSB color mode).
The results were more interesting, but the change of color was too dramatic. Consequently, I decreased the magnitude of the hue’s noise function’s offset to 0.01 to lessen the change between the color of one rectangle to the other.
In addition, I wanted to increase the number of rectangles in each row, to give the whole arrangement more depth.
For the next revision, I wanted to remove the upper limit of the rotation angles from 45 degrees to 360 degrees to allow for more variations in appearance. I’ve also tried different variations in the hue’s offset, as well as lighter stroke colors.
The following is the code.
Leave a Reply