Previously…

At first I realized that what I tried to make last week was already using some concepts for this week’s assignment. However, I had more help from Gemini AI last time because I didn’t know how to achieve what I intended. When bouncing my idea and code with Gemini, I realized that it was using vectors and static functions that I knew nothing about. I tried to implement it to my code and achieved my assignment 1 in some way barely understanding what I was doing. The following piece is that assignment.

https://editor.p5js.org/giav2030/sketches/4LLy70jvQ

Vectorizing

However for this week, I revisited my previous code and started by going line by line to understand what was going on after reading and watching the video documentation for this week about Vectors. I turned my previous code into this trying not to break it. At the same time I was inspired by the entire lecture to try and give more motion to it and even trying with other 3D figures instead of the vertex. At first I tried with a Torus, however, the computer and P5 didn’t like it as it turned to be really slow.

https://editor.p5js.org/giav2030/sketches/_aUBfmAZy

As I was reading and going through the lesson I was learning new stuff I could try on my model to give it more life or even play around with it some more. I tried to achieve some more interactiveness and a way to have more of these flying colored cubes at the same time as a system of particles that move around. When doing this, at first, I realized that the movement was still very obvious and even that they were moving in a 2D motion in a 3D space instead of just 3D. I started modifying my parameters to find a better visualization of this phenomenon. On the other hand, I also realized that these walkers were being instantiated from the middle of the canvas, not where I was clicking. I tried to solve this on the next installment.

https://editor.p5js.org/giav2030/sketches/1wjRDZUSI

The Colored Prehistoric Centipede

Finally, I saw the part of trying to create a type of creature from this. I already had the motion in some way and something similar to a body. So I adventured into giving it some legs and maybe something like a spine. I thought it would be nice to have like a centipede that had a spine column, if that makes any sense. Like if it were a little more prehistoric. Before evolving to what centipedes are today. I sketched a

IMG_0767.JPG

I still liked the background and the colors so I left them as they are. Also, even when trying to change where these creatures instantiate when clicking the mouse on different points in the canvas, I was not able to achieve the perfect way of doing so. I believe it is because there’s no mouseZ, therefore, it tries still to read the mouse in a 2D space. This was the final installment of my creature assignment.

https://editor.p5js.org/giav2030/sketches/S35gvZpZ8