47:49Coding Train Live 28: Hamilton Lottery Simulator - Probability and DOM
From the creator
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
Published 2016-04-07 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





