Coding Challenge

Published: 01 January 1970
on channel: The Coding Train
36,567
1k

This coding challenge is an exploration of binary numbers with p5.js. Watch me build an interactive sketch that converts binary to decimal numbers! Code: https://thecodingtrain.com/challenges...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Next video:    • Coding Challenge #120: Bit Shifting  
🎥 All videos:    • Coding Challenges  

References:
📝 Ternary Operator: https://developer.mozilla.org/en-US/d...

Videos:
🔴 Livestream Archive:    • Coding Train Live 157: Binary Numbers...  

Related Coding Challenges:
🚂 #117 Seven-Segment Display:    • Coding Challenge #117: Seven-Segment ...  
🚂 #120 Bit Shifting:    • Coding Challenge #120: Bit Shifting  

Timestamps:
0:00 Introduction
1:08 Understanding the base of a number system
6:11 Built-in helper functions for base conversion in JavaScript
7:24 Let's code our own converter!
7:52 Bits and bytes
14:39 Making a visual representation
22:31 Let's make this interactive!
26:12 The ternary operator
27:04 We did it!
27:24 Make something creative!

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...

#binarynumbers #baseconversion #math #javascript #p5js


On this page of the site you can watch the video online Coding Challenge with a duration of hours minute second in good quality, which was uploaded by the user The Coding Train 01 January 1970, share the link with friends and acquaintances, this video has already been watched 36,567 times on youtube and it was liked by 1 thousand viewers. Enjoy your viewing!