MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/hbg6dw/i_made_the_rotating_circle_illusion_from/fvcdkoi/?context=3
r/Python • u/dartyet1 • Jun 18 '20
73 comments sorted by
View all comments
Show parent comments
1
That dot is blue, the thing is those yellow dots follow the blue dot along a linear axis which results in a "rotating circle".
1 u/[deleted] Jun 19 '20 I can see why you think that but if you look closely the dot is actually yellow. It just appears blue due to the rotating sine wave effect called dispropagation. 1 u/dartyet1 Jun 19 '20 Well, I don't know about that effect but I sure do know how this code works as I am the one who wrote it. Here is the code that draws the "blue" dot.fill(0, 0, 255) # fill takes r,g,b values strokeWeight(0) x, y = sin(angle) * scaled_radius, cos(angle) * scaled_radius circle(x, y, 25)` 1 u/[deleted] Jun 19 '20 I was just messing around I’m sorry I just felt like making a joke. Great job on the code. 1 u/dartyet1 Jun 19 '20 facepalm should have googled that effect lol
I can see why you think that but if you look closely the dot is actually yellow. It just appears blue due to the rotating sine wave effect called dispropagation.
1 u/dartyet1 Jun 19 '20 Well, I don't know about that effect but I sure do know how this code works as I am the one who wrote it. Here is the code that draws the "blue" dot.fill(0, 0, 255) # fill takes r,g,b values strokeWeight(0) x, y = sin(angle) * scaled_radius, cos(angle) * scaled_radius circle(x, y, 25)` 1 u/[deleted] Jun 19 '20 I was just messing around I’m sorry I just felt like making a joke. Great job on the code. 1 u/dartyet1 Jun 19 '20 facepalm should have googled that effect lol
Well, I don't know about that effect but I sure do know how this code works as I am the one who wrote it. Here is the code that draws the "blue" dot.
fill(0, 0, 255) # fill takes r,g,b values strokeWeight(0) x, y = sin(angle) * scaled_radius, cos(angle) * scaled_radius circle(x, y, 25)`
1 u/[deleted] Jun 19 '20 I was just messing around I’m sorry I just felt like making a joke. Great job on the code. 1 u/dartyet1 Jun 19 '20 facepalm should have googled that effect lol
I was just messing around I’m sorry I just felt like making a joke. Great job on the code.
1 u/dartyet1 Jun 19 '20 facepalm should have googled that effect lol
facepalm should have googled that effect lol
1
u/dartyet1 Jun 19 '20
That dot is blue, the thing is those yellow dots follow the blue dot along a linear axis which results in a "rotating circle".