About Snakes// My coworker, friend and mentor, Pete Hawkes, led me to this one. We were having a hackathon with Ryan Moore, and Pete presented a pretty interesting problem that he faced in a client project. I don’t remember the client or the project, but he needed to be able to tween between colors cyclically, as if your current color was traveling around the outer edge of a color wheel like this:

After a few hours, we had really gotten to the bottom of how that was done, and in the end I used a lot of our findings in building a pretty rad color manipulation class. I built this just to play around with. I created 3 shapes and have the following properties all tweened simultaneously yet separately and of random durations- scale, rotation, direction, speed, red value, green value, and blue value. When they hit a wall, that x or y speed is reversed. On top of that, their current rgb values aren’t actually used, but instead a random variant of it, and which I chose to have those numbers wrap if they pass 0 or 255, which is how you get the opposite striping that shows up every once in a while. Then I capture the whole thing at 60fps and constantly record it to the canvas.
It would also be a good thing to sit and watch when you are stoned.