[ad_1]
Live from sfpc.io!
In this video, using p5.js, we build a Hamilton Tickets Lottery Simulator and explain the math behind it.

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

Contact:

Source code:
Website:

p5.js:
contenteditable attribute:

Learn JavaScript basics:

Learn HTML / CSS basics:

Help us caption & translate this video!

SHARE
Previous articleLive Stream #19
Next articleLive Stream #24