And then I got obsessed with spirals

I got obsessed with making spirals of various sorts. And then, of course, I had to add my usual frills like circles and generative color changes. But always in the same palette, apparently! Even I admit it is getting old. But it has sort of become my default to use, so I don’t have to spend time thinking of what colors to use.

image

If I recall correctly, I made the red and blue levels defined by the sine and cosine of the previous distance between the two points (respectively), whilst the yellow level is defined by the distance divided by 500 or some big integer. Which is why the red and blue oscillate back and forth predictably whilst the yellow doesn’t seem to do much and then all of a sudden: WHOA! Pastel! The maximum number of iterations is 500, so that’s how the yellow stays less than or equal to one.

I have another version where the yellow level is a constant, but I like the weird pastel edges here.

A week of battling a cold and Python

image

I had a cold for about 3 or 4 days this week, and didn’t feel like moving very far from my bed, so I decided to take this time to learn Python.

I’ve had a bit of fun setting challenges for myself in Python to get a hang of the basics, such as making the Spirograph type image above. I also made an alternate version where the radii and distances were all random integers, and it was fun watching them all converge on an average shape. And then I added a sine wave path, which created circles tangentially to the side wave, and whose radii were defined by the amplitude of the wave.

I went a little crazy with making trippy changing images, I guess.

I also made a program where the user can define a triangle by two angles and a side, and then the program defines what type of triangle it is and draws it.

I am now thinking it would be fun to make a hilarious Twitter not, but I am not quite sure what hilarious things it would do yet. One idea was that it just retweets everything Doc tweets. “For those of you that don’t want to follow Doc, but want to read all his tweets!” Another idea I had was that it would tweet at Doc all day long with random philosophers’ quotes. For some reason, Doc did not find that idea as hilarious as I did.

Whatever the case may be, it should be fun to figure out. And hopefully it won’t be too annoying to Doc.