NOC week2 : Vector and Force

For of all, since my coding skill is pretty bad, I strickly followed Dan’s( and also Dan in the tutorial video ) recommend to use my old sketch to edit the x and y to vector and use createVector( ) - which I was spending quite a long time confusing on so many little things for awhile; For example, how is the different between using p5.vector and createVector.

After finally manage to put things in vector, I try to apply a force to the sketch by aimimg with the simple one like snow throwing or rains. Anyway, it seems like I needed more design to support the visual display for the water that I couldn’t come up with now in code.

Here is the link to the sketch : https://editor.p5js.org/Jay_a_n/sketches/b0ySIPUx

Expectation

Expectation

Reality

Reality

Anyway, I learn a lot about vector and force this week… though still desperately need to book for an office hour :(

suphitcha donsrichanComment