diff --git a/visuals/README.md b/visuals/README.md index 2d90c29..7addb26 100644 --- a/visuals/README.md +++ b/visuals/README.md @@ -14,4 +14,6 @@ All my projects attempting to create vivid or interesting visuals using the Proc - **Illusion** A improperly named triangular rotation (I like the way they look) sketch. -- **Trippy_Boxes** - Transparent rotating boxes that move throught the HSB color spectrum. \ No newline at end of file +- **Trippy_Boxes** - Transparent rotating boxes that move throught the HSB color spectrum. + +- **Rotating_HSB_Squares** - Slowly builds a mandela-like structure out of squares that slowly change color through the HSB color spectrum. \ No newline at end of file diff --git a/visuals/Rotating_HSB_Squares/Rotating_HSB_Squares.pyde b/visuals/Rotating_HSB_Squares/Rotating_HSB_Squares.pyde new file mode 100644 index 0000000..0a00a29 --- /dev/null +++ b/visuals/Rotating_HSB_Squares/Rotating_HSB_Squares.pyde @@ -0,0 +1,24 @@ +import random + +def setup(): + size(1440, 1440) + frameRate(99999999) + colorMode(HSB, 100) +top = 0 +def draw(): + global top + top += 1 + translate(width/2, height/2) + # background(100) + strokeWeight(0.1) + # for rot in range(1, top): + rot = top + rot = rot/10.0 + fill((rot / 9.0) % 100, 100, 100) + pushMatrix() + rotate(degrees(rot)) + translate(rot / 10.0, 0) + translate(rot, rot) + rect(0, 0, 50, 50) + popMatrix() + # noLoop() diff --git a/visuals/Rotating_HSB_Squares/sketch.properties b/visuals/Rotating_HSB_Squares/sketch.properties new file mode 100644 index 0000000..2456b0a --- /dev/null +++ b/visuals/Rotating_HSB_Squares/sketch.properties @@ -0,0 +1,2 @@ +mode=Python +mode.id=jycessing.mode.PythonMode