Coding Train Live 28: Hamilton Lottery Simulator - Probability and DOM

Subscribers:
1,740,000
Published on ● Video Link: https://www.youtube.com/watch?v=B8tpfNH2gvM



Duration: 1:45:57
1,238 views
26


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







Tags:
value=
simulator
hamilton lottery
contenteditable attribute
html
hamilton
hamilton musical
dynamic webpage
probability and javascript
javascript html
probability
mathematics
tutorial
JavaScript
contenteditable
attribute
DOM attribute
lottery
dynamic
p5.js
lottery simulator
logarithm
probability tutorial
logarithm tutorial