Coding Challenge #56: Attraction and Repulsion Forces



In this Coding Challenge, I implement a system of particles that respond to attraction / repulsion forces.

script type="text/javascript" src="http://aos-creative.prf.hn/creative/camref:100l3Rd/creativeref:10l3694">

Support this channel on Patreon: https://patreon.com/codingtrain

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Contact:
Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/

Links discussed in this video:
My video on vectors: https://www.youtube.com/watch?v=vqE8DMfOajk

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For Videos on Physics Libraries: https://www.youtube.com/watch?v=MsRROjQJxuo&index=1&list=PLRqwX-V7Uu6akvoNKE4GAxf6ZeBYoJ4uh
For an Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Help us caption & translate this video!

http://amara.org/v/3wz3/

source

Reply


Build A Site Info