This Week we started off by learning about vectors. We did this by seeing how to manually insert vectors and seeing the individual aspects of it rather than just calling the PVector function.

Screen Shot 2014-11-22 at 18.26.26

We then moved on to producing a visual representation using what we learnt about vectors from the first half of the workshop. We created three forces of physics: gravity, friction and a force pushing the ball depending on the mouse position to the centre.

Screen Shot 2014-11-22 at 18.35.54 Screen Shot 2014-11-22 at 18.35.58

This resulted in the user being able to do this.

physics

Advertisements