I went back the development I did before, the spiral, tornado-like circle... going on developing
Comment : The thickness and depth are increased. Love the spiral so much. So flexible, so soft, bubble, bubble liked.
CODE :
---------------------------------------------------------------------------------------------------------------
import math
def setup():
size(800,800)
stroke(255)
smooth()
colors = range(5)
colors[0] = color(10,58,74,150)
colors[1] = color(25,106,115,150)
colors[2] = color(50,166,166,150)
colors[3] = color(161, 191, 51,150)
colors[4] = color(200, 217, 74, 150)
def rcfunction():
if (mouseY<=200):
rc = colors[0]
if (mouseY>200) and (mouseY<=400):
rc = colors[2]
if (mouseY>400) and (mouseY<=600):
rc = colors[3]
if (mouseY>600) and (mouseY<=800):
rc = colors[4]
fill(rc)
def draw():
background(240)
rcfunction()
for ii in range (1,800):
trans = mouseY + ii
xx = ii * 3.14 * math.pow(math.sin(trans),1%2)
yy = ii * 3.14 * math.pow(math.cos(trans),1%2)
width = math.pow(ii, -25)
ellipse(mouseX+xx, mouseY+yy, width+ii*0.8, width+ii*0.8)
---------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment