tubeshowcaseโ—โ™ก My collection 0
โ† Learn to Code

Learn to Code17:52

Coding Challenge #120: Bit Shifting

The Coding Train โ†—

From the creator

In this coding challenge, I talk about bitwise operations, and more specifically, bit shifting. Code: https://thecodingtrain.com/challenges/120-bit-shifting ๐Ÿ•น๏ธ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/Hk8CVYvi7 ๐ŸŽฅ Previous video: https://youtu.be/meGcdIoTYgw?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH ๐ŸŽฅ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH References: ๐Ÿ“ Ternary Operator: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator ๐Ÿ“ฝ The Modulo Operator with Golan Levin: https://www.youtube.com/watch?v=r5Iy3v1co0A Videos: ๐Ÿ”ด Coding Train Live 157: https://youtu.be/jSzmac4Rri8?t=6520s Related Coding Challenges: ๐Ÿš‚ #119 Binary to Decimal Conversion: https://youtu.be/meGcdIoTYgw ๐Ÿš‚ #117 Seven-Segment Display: https://youtu.be/MlRlgbrAVOs Timestamps: 0:00 Hello! 1:07 What is bit-shifting? 4:23 Let's start implementing 6:49 A function to shift bits 7:55 implementing decimal to binary conversion 14:46 We can now bit shift! 15:51 Inverting the colors 16:59 Thank you for watching! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound ๐Ÿš‚ 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/thecodingtra

Published 2018-10-25 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code