Blog #02



//general thoughts|what I want to do|random thinkings

{This week’s projects feel much more difficult compare to the previous week. When creating things, there are usually two kinds of mindsets for me: one is using brain while the other is using the mind. For this week’s project, it leans more towards the brain section, which is comparatively more about mathematics. When I don’t fully understand the algorithm or the backstage calculation, I will never have the right code come into my mind. It is not like something in art where other fields of disciplines could occur to fill up the space. For here in p5.js, the code is the only teleological key to the answer. Specifically speaking, it took me quite a while to figure out question 4 and 5...

//some trouble shooting
I am not sure whether I made prompt 5 correctly. Though the rectangle does “Move towards” the cursor, the movement appears to be less smooth compare to what I did in the 4th challenge. I think it is because for the values of variables inside the line’s property, instead of setting them as “a,b,c,d”, I set them as “leftEdge + x”, making there having a distance between the rectangle and the cursor.




>>click here to check the {

documentation

}