9.8: Random Circles with No Overlap - p5.js Tutorial

Published: 15 March 2016
on channel: The Coding Train
151,716
2.8k

This video demonstrates a "circle packing"-like algorithm. Circles are placed randomly in the canvas, but only if they are not overlapping with any previous circles. This is referred to as "uniform random sampling." The p5.js dist() function is demonstrated.

Source-code: https://github.com/CodingTrain/Rainbo...

Contact:   / shiffman  

All JavaScript/p5.js videos: https://www.youtube.com/user/shiffman...

Help us caption & translate this video!

http://amara.org/v/Qbt2/

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...


Watch video 9.8: Random Circles with No Overlap - p5.js Tutorial online without registration, duration hours minute second in high quality. This video was added by user The Coding Train 15 March 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 151,716 once and liked it 2.8 thousand people.