Documentation 01




// Links to the 2 experiments

https://editor.p5js.org/hz1805/sketches/Z29XRygfr
https://editor.p5js.org/hz1805/sketches/kz900DXxQ


//General experience

To me, making the two animations feel much more playful than the weeksheets prompts: though it still involves mathematical thinking, there are unexpected results that can be triggered from experimenting. Since it is a more self-guided exploration, the journey is non-teleological, where all randomness become valid outocmes. The idea of relationship and intersubjectivity is quite intriguing, espetially when dealing with code which sets most of the things related in its totalizing matrix. I start with the two ellipse experiment in the idea of making two elements disconnected, or separated on the screen yet related invisibly in their “metadata”.  Then I also make another experiment (the square and ellipse animation) playing with the if{} and random() function. In both of the pieces, I was playing with the idea of making some objects that are visually isolated from each other regarding their physical position while actually intertwined through coding.

//Questions

1. For the rectangle animation, I failed to make the background color change gradually. I tried with setting variables of “g” and use the “g+=” argument, but I don’t know why it didn’t work. Can you tell me how to make it shift gradually?
2. How to make the animation of colors in a controlled range in order to get the exact color change we want? I tried with constrain() but still didn’t get the ideal color change I want.