woodgears.ca/marbleadd A simulation of the machine: leloctai.tk/game/ My marble adding machine in action. It adds binary numbers.
Пікірлер: 1 200
@TheDudeFromCI4 жыл бұрын
This is the video that taught me binary and helped me get into programming nearly 10 years ago. Still holds a special place in my heart.
@johanrosenberg63423 жыл бұрын
As someone who has studied programming in both high-school and at uni I can't help but find your comment slightly funny. You see, I can't think of a single time I've used binary for anything. Pure binary that is, as in say 1010, not true/false or 1, 2, 4, 8 etc. I can still relate to this comment though as learning binary felt like an important part of becoming a programmer. Do you use any binary when you program?
@TheDudeFromCI3 жыл бұрын
@@johanrosenberg6342 Lol, that's fair. Binary doesn't have a use case in most modern environments. But for me, my primary focus when coding has always been around low-level game development. So things like bit flags and byte packing were extremely important for keeping the game running fast without using up too much memory. Although, here, it's more so learning this that gave me a new way to think about problems. It gave me an idea of how problems can be approached outside of the box.
@johanrosenberg63423 жыл бұрын
@@TheDudeFromCI Cool! I've always wanted to try stuff like that, but these days I'm worried I'd just be wasting my time figuring out low-level stuff (I focus my work on the gameplay mechanics). Don't get me wrong though, I think it would be a quite fun waste of time. And seeing as I already have quite good understanding of BASIC I could always take the Ultima route and reserve assembly for certain routines. That actually reminds me, I think the joystick on the Commodore 64 operates in binary, and I've programmed that in BASIC. But aside from that and some CPU-building in Minecraft I can't think of any other times I've used binary. Not that strange though considering how simple and practical hexadecimal is in most cases.
@TheDudeFromCI3 жыл бұрын
@@johanrosenberg6342 Yeah, binary only really has uses in very special circumstances. Not a whole lot of use cases in modern development at all. In your case of low-level game development, I say it's worth it. While it's never going to get you as far as using a high level engine or anything, it teaches you how the engines work under the hood and gives you a huge boost when it comes to designing the high level stuff. You get much better grasp for why things are done the way they are and how you can optimize the high level stuff around that.
@d36williams2 жыл бұрын
@@johanrosenberg6342 I explicitly use binary at times when I'm developing BLE communication protocols
@miennai9448 Жыл бұрын
This video literally changed my life. I saw it when I was a minecraft-obsessed teenager around 13 years ago. I noticed that each bit would flip if the previous bit flipped to 0, and thought I could use that rule to make my own adder in Minecraft, with Redstone. That sent me down a crazy rabbit hole of studying logic gates and binary until I made a proper, fully-functioning calculator in Minecraft. Today, I'm completely obsessed with computers as a whole, working in IT and quickly climbing the ranks at my job. Thanks, Matthias.
@matthiaswandel12 жыл бұрын
Six was bits was enough to illustrate the concept. There's other problems with adding bits - you will see once you built it.
@GlennAnimator13 жыл бұрын
It's just amazing how you can store such large amounts of data by making the bits work with each other.
@adrim2378 жыл бұрын
Awesome video, these machine should be in schools all over!
@cowzilla84grr798 жыл бұрын
+Adriana Michel : I agree 100 % (I am a teacher myself).
@markpainters58696 жыл бұрын
Yea Adriana you are Quite right. i will love to get in touch with you if you don,t mind Madam?
@vinubox5 жыл бұрын
Yeah right, in universities too...
@Ezer20004 жыл бұрын
@@markpainters5869 GTFI|O U STUIPD
@DrWhom4 жыл бұрын
Or schools should have computers and a suitable youtube playlist
@stephenkamenar10 жыл бұрын
Don't forget that's also a subtraction machine! Although in that case it can only handle numbers from -32 to 31
@helperfunction49815 жыл бұрын
This is so epic that it makes me giddy inside! Combining this with spring operated logic gates and making a complete asynchronous cpu would be end game awesomeness
@orpheus166415 жыл бұрын
I can't get over this machine, just keep coming back for another look!! It's gorgeous!!
@kwokkie15 жыл бұрын
I love mechanical implementations of digital systems! I have seen some Lego implementations of Boolean logic gates once, which were equally impressive, but this one is more fun to watch! :-)
@soralapio17 жыл бұрын
Amazingly cool. I love little feats of engineering like this. Keep on trucking, you crazy diamond!
@PixelOutlaw15 жыл бұрын
This is very well done and thought out. I enjoy this project. You don't often hear a woodworker talking about binary. It is great that you have such a large range of knowledge. I really need to get off the computer and get back to woodworking myself. Great website too!
@orpheus166415 жыл бұрын
This is really impressive. I wish I'd made something like this in school project, we always made boring things like bookcases. Seriously, well done Matt
@MikaelMurstam9 жыл бұрын
Cool =). Now build a wooden decimal to binary converter and put it on top of the adding machine :P
@davidpanic9 жыл бұрын
And at the bottom put a binary to decimal converter
@MikaelMurstam9 жыл бұрын
David Panić indeed =)
@sanderd178 жыл бұрын
+Mikael Murstam decimal to binary, and binary to decimal converters would need a reservoir of available marbles though. F.e. 32 would be 5 marbles in decimal (3 on the 10 column, and 2 on the 1 column), while it's only one in binary (one on the 32 column). While f.e. 11 is 2 marbles in decimal (one on the 10 column and 1 on the 1 column), while it's 3 marbles in binary (one on the 8 column, one on the 2 column, and one on the 1 column). I wonder how you can make a reservoir without electronics to just release the number of marbles you need to convert a number. Making counters in any base is possible though (so addition machines should be too, given the right input configuration). F.e. see this clock kzfaq.info/get/bejne/i65ye6ak19e9fas.html The counting mechanism uses base 12 for the hours, and base 12 + base 5 (which multiplies to 60) for the minutes (base 60 directly would make it too big suppose).
@13pickles136 жыл бұрын
David Panić That would be a pretty complicated machine. Very possible to make though. There are multiple ways to go about it but probably the best way for a larger number would be to find a way implement the double dabble algorithm for binary to bcd then a bcd to decimal decoder. Not something i would ever want to make but it would be amazing to see
@totallymcmylastname90778 жыл бұрын
This restored my faith in humanity.
@adavasquez42008 жыл бұрын
i just found *TopFineWoodworking .Com* and the plans on there are so amazingly laid out and well thought i don’t know what I would do without them now.....
@that_one_guy9344 жыл бұрын
Well the interger overflow on normal calculators is one googl but on this one it is 63 and on top of that, you still have to add to get a result, It is interesting, yes, but it is incompetent and only shortens the amount to add
@jvskates16 жыл бұрын
i have to say, this is with out a doubt the most awesome machine i have ever seen. i love binary thats why i love this machine.
@keysaunt15 жыл бұрын
This is by far the most amazing thing ive seen in FOREVER!!! Im in awe.
@iqandreas8 жыл бұрын
Skip to 3:16 for the integer overflow
@Ezer20004 жыл бұрын
Thank you.
@hipertrofia12 жыл бұрын
I loved this video. It would be amazing if you managed to make a multiplying or even dividing machine using the same principles. You could solve your little segmentation fault beyond 63 with some memory unit coupled to your machine. Great video!
@aquaajb15 жыл бұрын
this is, without question, one of the most completely badass videos I have ever seen.
@holdenha11 жыл бұрын
You really don't know how awesome this or any of Matthias things are!
@DrToonhattan8 жыл бұрын
Can it run Crysis?
@GazRockK8 жыл бұрын
maybe with about a billion more
@rakka1dude1846 жыл бұрын
that would be pretty cool to see, maybe not crysis but something simpler but still definitely a video game.
@To-mos6 жыл бұрын
holy hell this joke is old as the hills, let it die already...
@readbooks63706 жыл бұрын
It's can run your mind to write about Crysis. But, more complicated function is to run marbles, you can play marbles, it's also funny
@Crazytesseract4 жыл бұрын
It will take a hundred trillion years just to load the game (a trillion marbles clashing).
@briankinnaman21349 жыл бұрын
I love this! Any other illustrations like this, about how logic gates are used in computers, to generate specific outputs?
@PugCuber10 ай бұрын
much like many people in this comment section, this video-unbeknownst to me at such a young age (maybe 6 or so)-taught me how binary works. thanks matthias!
@truebluekit11 жыл бұрын
The benefit of making something like this is that you get to show kids (or anyone, actually) that with a bit of thought, they too could do something as cool, or even cooler. We shouldn't just live for the moment. Our future lies in the people we inspire.
@MikaelMurstam9 жыл бұрын
You should donate this to a school and let children play with it =)
@Metalman200xdamnit9 жыл бұрын
That is a cool marble machine.
@majororgans15 жыл бұрын
this guy is the smartest man i've ever seen, all of these inventions are crazy awesome.
@techusition14 жыл бұрын
Binary has never been so effing easy to understand! Rock on Bro!
@The2Trolles8 жыл бұрын
A computer with no electricity. I have serious respect for you.
@teravolt11958 жыл бұрын
+Guy_With_A_Stick Never seen an abacus?
@The2Trolles8 жыл бұрын
Tera Volt An abacus is mostly human-powered. With this, it automatically adds.
@Trockenshampooleopard7 жыл бұрын
I recommend visiting the Technisches Museum in Berlin where the Zuse Z1 is exhibited, a programmable mechanic computer. Looks like Matthias' adder, only bigger.
@teravolt11957 жыл бұрын
Guy_With_A_Stick yeah fair point
@vinubox5 жыл бұрын
That's right, me too...
@ninjaquest13 жыл бұрын
This is a superb little machine, and a great way of explaining binary addition. Have you considered making other versions, for instance base-10 or base-16? I'm not quite sure how you'd do it, but I bet you could :)
@confuzionn48432 жыл бұрын
My compsci teacher used this video to teach us, years later, we're all great fans of yours now.
@10FingersWorkshop2 жыл бұрын
I came across this video while looking for a physical binary adder. Just a few seconds that geeky voice remind me of a well-known woodworker, then I checked the author, aha, there you are Matthias you smart wood geek! The video was made in 2007, and you were that sophisticated already!
@TheDrB0B8 жыл бұрын
Wait, so if I ask "What's 32 + 16 + 8 + 4 + 2 + 1", the machine will tell me that the answer is "32 + 16 + 8 + 4 + 2 + 1"? *GENIOUS!*
@matthiaswandel8 жыл бұрын
+TheDrB0B And if you were just a wee bit smarter, you would have clicked on the link in the description and realized it operates in BINARY.
@TheDrB0B8 жыл бұрын
Matthias Wandel Just a question, can something that adds those numbers and gives out a single answer be done with only wood as well?
@IslandCave8 жыл бұрын
+TheDrB0B That is a single answer. 32 + 16 + 8 + 4 + 2 + 1 is 111111 in binary. The 32 ,16, 8, 4, 2 and 1 are simply labels for the individual bits.
@TheDrB0B8 жыл бұрын
Oh, yeah. I guess I did miss that haha. Sorry Matthias Wandel. I misunderstood your reply. I didn't know what binary was precisely, but I looked it up and IslandCave helped me understand it.
@billkillernic8 жыл бұрын
+TheDrB0B also thats like the limit of the machine (63) most of the smaller numbers give a far simpler to interpret result as shown in the video
@ArtForSwans14 жыл бұрын
3:02 you said "much like a computer." Dude, it IS a computer. :D I don't know what makes you think it isn't.
@JohnnyX5015 жыл бұрын
Some people are completely missing the point. Its a very good way to show by example the arithmetic behind adding binary numbers. You learn and have fun doing it too! there's no fun in a calculator just giving you the answer if you don't know how it arrived at the decision. I like what this guy has done. A great combination of craft and math skills!!
@IDontRollMyRs14 жыл бұрын
You rock. I love your videos and I keep watching them over and over again. keep up the good work
@wqwwqwqqpoppopoo9 жыл бұрын
Very cool! unfortunately you have to already know how to add in order for this adding machine to be useful lol
@davidmaiolo9 жыл бұрын
Creed Bratton I'm actually going to agree with Creed here, even though his comments come off like he's a troll. He has a good point, just in the sense of forcing us the realize we would very seldom use binary as an output format in the real world, simply because we have 10 fingers and learned to count in that base. Nevertheless, any device that helps us visualize binary systems is a great way for beginners to understand computer logic.
@sharonjuniorchess7 жыл бұрын
There is a view that binary operations using stones or marbles could have been in existence long before people actually had words for the numbers. One can easily compress or reduce a pile of marbles down to its binary number by using repeated halving (even numbers given a zero & odd numbers given a 1). Whilst an equivalent pile of marbles can easily be built from their binary number by starting with a 1 and then doubling it (and adding a one if the next number is a 1) before doubling again until the end is reached. Addition subtraction multiplication and division operations are easily done in binary. If one looks at later Egyptian multiplication it appears to be based on a similar approach to binary multiplication. Halve one number and double the other and add up those totals that have an odd number reduction. It is much easier to do than to explain but once one is used to doing binary multiplication it seems obvious to use this approach with decimal numbers. If children were introduced to binary first then numbers & operations would become much simple and easier to understand whilst handling big numbers with ease. It also allows one to move easily into other bases whether it is; 5, 10, 12, 20 or 60 as a precocious 16 year old young Napier found out.
@erikengheim11066 жыл бұрын
Downhill not really. When he is adding, what he is really doing is just converting between our decimal system and binary system. If you were okay working with and representing numbers in binary, you would have no need of adding them up as he does.
@IM-qy7mf2 жыл бұрын
@@erikengheim1106 You did not understand Downhill's comment, I believe: when performing calculation, there is an expectation that the calculation result will be accurate, isn't there? To gauge accuracy of the result, we must already have at least an idea of it, hence Downhill's comment.
@NerdNordic10 жыл бұрын
My prof showed this video in a digital theroy class xD
@MopUser3 жыл бұрын
I love how the simulation is still up to date
@einWikinger16 жыл бұрын
That's a really cool adding machine! Kudos!
@storminmormin148 жыл бұрын
Great now we just need to expand this to the size of the Empire State Building and then we can go on the Internet.
@jays4518 жыл бұрын
Hahaha
@andrewbarrett15377 жыл бұрын
storminmormin14 That would be very slow... and NOISY... but fun if you're in no hurry. I'd like to see it try to download an image... it would probably take a month and sound like a hailstorm.
@terryyouth8 жыл бұрын
Can give Apple and MS a run for their money!! Have you not sold this to Apple yet? They are always on the look-out for simple products! This is good only hardware- no software needed, no electric power needed
@ProGamer15158 жыл бұрын
Now Apple will watch this, replicate it exactly, and then paint it black. They will say they invented it first. Then patent arbitrary things like the 90° corners of the product.
@killer14798 жыл бұрын
+ProGamer1515 lol
@pablosrz8 жыл бұрын
+ProGamer1515 It'll sound good when a British guy talks about it.
@ProGamer15158 жыл бұрын
Pablo Suarez ANYTHING sounds good when a British guy talks about stuff. XD
@aoffan2315 жыл бұрын
DUDE!!! I NEVER UNDERSTOOD BINARY TILL NOW!! I love you :D
@spectpidey184210 жыл бұрын
Oh my that's a pretty creative way to show addition, I need myself one of these!
@TheSentientCloud10 жыл бұрын
Maybe calculators have existed for thousands of years in this form. It's not impossible that some great mind two thousand years ago built a denary form of this contraption to do their complex calculations on... damn. *wipes bits of brain off of screen*
@CloudOmegaVII5 жыл бұрын
Yes. This is already known to greeks and egyptians. Look at the pyramid. Lol huge.
@bluesparklejet10 жыл бұрын
Astonishing, you can actually see the machine's thoughts as it works out the binary
@nlicky14 жыл бұрын
Wow, very cool yet simple adding machine. Looks simple enough but somehow it's pretty complex.
@Dragonlord701210 жыл бұрын
This gave me tremendous insight into my assembly programming language class.
@evilhamstertrainer16 жыл бұрын
I wish I was smart enough to appreciate what you've done here.
@kargaroc38614 жыл бұрын
WOW! this is amazing! plus, it's a physical representation of the bits.
@pandaman052915 жыл бұрын
Very clever! Binary makes the addition easier, great job!
@calebleware67757 жыл бұрын
This machine is fascinating with the design of it and that it works so wonderfully
@DrThunder8814 жыл бұрын
Clever design and great workmanship!
@Trif415 жыл бұрын
Now THIS is epic! I want that machine! So simple, but so advanced!
@blented10 жыл бұрын
This is one of the coolest videos I've ever seen!
@agentzchango14 жыл бұрын
Very cool, puts a visual representation on how a binary system works.
@psychastheneia713 жыл бұрын
It might be totally trivial to understand binary addition but this video is extremely cool for explaining Marr's levels of analysis!
@Kikuyumoja15 жыл бұрын
This is just fascinating & very nice work! Already love it and forwarded it to all my math/science relatives...
@octopuspartyofficial6 жыл бұрын
Simply beautiful. Beautifully simple.
@mbsl511 жыл бұрын
Nicely done. Fun to watch. Reminds me of those marble clocks. I had one of those years ago.
@an0mie16 жыл бұрын
This is the coolest thing I have ever seen. This device would be an awesome teaching tool. You should commercialize it! I'd buy one.
@4crescente415 жыл бұрын
That's pretty cool! I'm learning about the binary system in college and that's an interesting way to understand it.
@EmceeProphIt13 жыл бұрын
This is really creative AND functional for people who program. :)
@flamewhisker15 жыл бұрын
I would never think of this at all... its is epic!
@cepi249 жыл бұрын
This is awesome, you've made my day. Please do more stuffs like this. Thank you very much.
@Renville8015 жыл бұрын
Brilliant! Simply brilliant! :) What better way to demonstrate the principle behind binary addition (and a slight insight into how computers do math). :)
@arooobine13 жыл бұрын
This is so freaking awesome! All you need to do now is make a decoding mechanism that puts the result in decimal form. Then you'd actually have something useful!
@jackwilliams32598 жыл бұрын
That Machine Contraption was so cool.
@danilovsky2216 жыл бұрын
You are great!Hans Voralberg in person!Mechanical genius! Awesome!5 stars!
@1337Shockwav316 жыл бұрын
Man, every teacher in school should have one of those to explain how binary works :) It's fun to watch and nicely visualizes the binary system.
@oweng376310 жыл бұрын
how you managed to make this whole thing blows my mind. im very impressed
@DdragonPT5 жыл бұрын
fantastic adder representation
@zoomerlawns14 жыл бұрын
Awesome visualation of math, Great Job!
@swampwiz14 жыл бұрын
I am thoroughly impressed by this modern age Charles Babbage.
@tiaralundy10189 жыл бұрын
Wow i didnt think you could have so much fun with marbles
@StainedShuriken33314 жыл бұрын
@nocnylis It's a 6-bit binary calculator. The digits double as you add more bits, as you can see here. Digit 1 = 1, Digit 2 = 2, 3 = 4, 4 = 8 and so on. Binary is used as a language in computers and interpreting data.
@ThomasWhatever15 жыл бұрын
RESPECT! Simple...but to have such an Idea.....very genius!
@jayboy8110115 жыл бұрын
That is so clever! Well done!
@JamesTalvy14 жыл бұрын
Absolutely amazing mr ganson!
@briant282815 жыл бұрын
nicely done man that machine is pretty cool
@theblasto15 жыл бұрын
That is really really impressive. A+
@romandybala6 жыл бұрын
Oh, and I thought the final years of high school math were hard enough.Im happy for people who understand this video .I finally understood PI when I was about 30 years old and needed to find the circ. of a circle.
@Scerab14 жыл бұрын
this is very nice, I love the logic of it.
@CrownedWithLaurels14 жыл бұрын
It's so beautiful and simple and ingenious... love it.
@lamadude12216 жыл бұрын
that is the coolest thing i have ever seen on youtube
@galihtanu3 жыл бұрын
Hard fun way to explainning binary format number. And thanks to explaining overflow👍
@MendeliviuM15 жыл бұрын
great design. Great work
@TheAgentbrady10113 жыл бұрын
This is actually pretty cool
@hallofchamps13 жыл бұрын
His talking gives me the chills so ive watched this like 10 times
@BestOfTheBruces14 жыл бұрын
What a neat example of analog computing. Needs a bin for the overflow marble though.
@Cameron_R_13 жыл бұрын
I didnt understand a word you said, but it worked, so awsome!
@artifaxiom14 жыл бұрын
That's really ingenious, thanks for showing us :)
@Blakmajik415 жыл бұрын
Wow, this is really cool. 2 thumbs up, 5 stars, 10/10, and so on...
@snowwolfsabertooth15 жыл бұрын
that's such an awesome design ;D thumbs up
@Budster65016 жыл бұрын
You win. Fantastic job.
@TurgidTrain15 жыл бұрын
Thats one of the coolest things ever!
@lettersfromtheleft15 жыл бұрын
Wow, this would be a pretty sweet project for a junior high math class to do!