Coding Train Live 28: Hamilton Lottery Simulator - Probability and DOM
Live from sfpc.io!
In this video, using p5.js, we build a Hamilton Tickets Lottery Simulator and explain the math behind it.
Timestamps:
24:55 - Part 1: Probability behind the simulator
42:30 - Part 1 continued
57:40 - Part 2: Simulating the lottery in p5.js
1:14:00 - Part 3: Updating the DOM dynamically
1:33:56 - Part 3 continued
1:39:05 - Conclusion
π Website: http://thecodingtrain.com/
πΎ Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
π© Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
π‘ GitHub: https://github.com/CodingTrain
π¬ Discord: https://thecodingtrain.com/discord
π Membership: http://youtube.com/thecodingtrain/join
π Store: https://standard.tv/codingtrain
ποΈ Twitter: https://twitter.com/thecodingtrain
πΈ Instagram: https://www.instagram.com/the.coding.train/
π₯ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
π₯ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
π p5.js: https://p5js.org
π p5.js Web Editor: https://editor.p5js.org/
π Processing: https://processing.org
Source code: https://github.com/shiffman/hamilton-lottery-simulator
Website: http://shiffman.github.io/hamilton-lottery-simulator/
p5.js: https://p5js.org/
contenteditable attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable
Learn HTML / CSS basics:
https://www.youtube.com/playlist?list=PLRqwX-V7Uu6bI1SlcCRfLH79HZrFAtBvX
Help us caption & translate this video!
http://amara.org/v/QbtE/
π Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct