Using PVectors to simulate gravity and friction in Processing. We make a box that jumps when the spacebar is pressed and moves side to side with the left and right keys.
Check out the Conway's game of life video - https://youtu.be/hT5hqkwmZyw
PVector info: https://processing.org/reference/PVector.html
Processing download link: https://processing.org/download/
Background music:
Airport Lounge - Disco Ultralounge by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100806
Artist: http://incompetech.com/
Congratulations! You made it to the bottom of the description box. Have a byte 0000 1101 !
Download
0 formats
No download links available.
Simulate GRAVITY in Processing (and Friction) | NatokHD