Coding Challenge
Автор: The Coding Train
Загружено: 2020-03-14
Просмотров: 77318
🥧 Happy Pi Day 2020! In this challenge, I build a simple web application using p5.js and node.js to search in the first billion digits of Pi. Code: https://thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...
🎥 Previous video: • Coding Challenge #155: Kaleidoscope Snowfl...
🎥 Next video: • Coding Challenge #157: Zoom Annotations wi...
🎥 All videos: • Coding Challenges
References:
🔗 Pi Searcher: https://angio.net/pi/
🔗 Peek in Pi: http://pi.fathom.info/
🔗 Boyer-Moore String Search: https://en.wikipedia.org/wiki/Boyer%E...
🔗 createReadStream(): https://nodejs.org/api/fs.html#fscrea...
Videos:
🎥 ES6 Arrow Function: • 16.3: ES6 Arrow Function - Topics of JavaS...
🎥 Server-side with Node.js: • 2.1 Server-side with Node.js - Working wit...
🎥 Working with Data and APIs track: • Working with Data and APIs in JavaScript
🔴 Coding Train Live 189: • Coding Train Live 189: Searching for Digit...
Related Coding Challenges:
🚂 #140 Leibniz Formula for Pi: • Coding Challenge #140: Pi Approximation wi...
🚂 #161 Estimating π from Random Numbers with Euclid's Algorithm: • Coding Challenge 161: Estimating π from Ra...
🚂 #169 Pi in the Sky Game: • Coding Challenge 169: Pi in the Sky Game
Timestamps:
0:00 Introduction
2:30 Importing Pi Into p5.js
3:37 Searching Numbers in Pi
7:09 IndexOf Function
13:13 Importing 1GB File
16:38 Dividing the Data into Read Streams
18:25 Searching 1 Billion Digits
19:44 Creating an API
28:42 Conclusions and Ideas
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://thecodingtrain.com/discord
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...
#math #piday #nodejs #p5js #javascript
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: