Making a Calculator using ONLY MARBLES

Sdílet
Vložit
  • čas přidán 8. 08. 2018
  • I made a calculator with only marbles,
    it's pretty bad
    have a go yourself
    code-bullet.github.io/MarbleC...
    Twitter: / code_bullet
    Patreon: / codebullet
    Discord: / discord

Komentáře • 4,4K

  • @wessmall7957
    @wessmall7957 Před 5 lety +5762

    I always wondered why calculators rattled and gave wrong answers if I shook them.

  • @shawnmeehan8962
    @shawnmeehan8962 Před 4 lety +2434

    This is actually how real calculators work. They just have really fast marbles on the inside

    • @al5259
      @al5259 Před 4 lety +28

      shawn meehan I KNEW IT!!

    • @stephweasenforth7891
      @stephweasenforth7891 Před 3 lety +83

      Which is why they rattle when shaken

    • @skpapic
      @skpapic Před 3 lety +140

      It is just that these marbles are called electrons, and are much smaller.

    • @ladrillorojo4996
      @ladrillorojo4996 Před 3 lety +8

      @@skpapic r/woooosh

    • @Lyf4rMusic
      @Lyf4rMusic Před 3 lety +184

      @@ladrillorojo4996 They understood the joke AND made an intelligent comment ! you should ban yourself with r/ihavefailedreddit

  • @wallonice
    @wallonice Před 4 lety +4009

    New challenge: Make a marble using only calculators

    • @niva9644
      @niva9644 Před 4 lety +56

      Or just animate one with graphics function

    • @Daniel-ss5tg
      @Daniel-ss5tg Před 4 lety +24

      3 steps:
      Search "marble"

    • @nametry3
      @nametry3 Před 4 lety +14

      So... Katamary Damacy?

    • @holala13
      @holala13 Před 4 lety +9

      Just write a “0”

    • @Lyf4rMusic
      @Lyf4rMusic Před 3 lety +1

      @@tthung8668 Your calculators have metal in them ? Damn !

  • @Pugaroo85
    @Pugaroo85 Před 4 lety +5755

    Me understanding all of the logic gates thanks to Minecraft redstone

    • @JackPenders
      @JackPenders Před 4 lety +44

      Same

    • @mr.penguin2054
      @mr.penguin2054 Před 4 lety +35

      Same

    • @noahbrown447
      @noahbrown447 Před 4 lety +33

      Same

    • @robertpietraru1939
      @robertpietraru1939 Před 4 lety +27

      Same

    • @codycero1
      @codycero1 Před 4 lety +73

      Same, but I also started trying to implement binary logic gates into Halo Reach's forge mode of all things. Never did finish anything with it though.
      Really started to get tired of it at the time, since I was already doing some pretty weird map making experiments for a good while before I started
      trying to do gates. Maybe I'll get Master Chief Collection and give it another shot though.

  • @seththecat9317
    @seththecat9317 Před 5 lety +9920

    Your computer is doing tons of calculations to calculate this calculator calculating in binary

  • @jmandawgfan2533
    @jmandawgfan2533 Před 5 lety +5773

    a calculator that can add numbers up to 7 with 60% accuracy!? just what I've been looking for!

    • @will227inyoface2
      @will227inyoface2 Před 5 lety +81

      Wait, why do u say 60% accuracy. Seems like it was 100% accurate from his tests?

    • @asgeiralbretsen
      @asgeiralbretsen Před 5 lety +282

      @@will227inyoface2 He says in the video that the accuracy is about 60%.

    • @jantar1154
      @jantar1154 Před 5 lety +153

      Actually I'm kind of calculator that can add single digit numbers with 60% accuracy

    • @DrZaius3141
      @DrZaius3141 Před 5 lety +58

      Better than some 15 year olds I know.

    • @Dizastermaster.
      @Dizastermaster. Před 5 lety +71

      @@DrZaius3141 You should know better 15 year olds.

  • @napoleon2564
    @napoleon2564 Před 4 lety +360

    Teacher: a calculator will be provided for the test
    Calculator provided for the test:

    • @jeepercreepers9
      @jeepercreepers9 Před 2 lety +2

      Your profile picture gives me painful English class memories

    • @basti5263
      @basti5263 Před rokem +1

      I am a math teacher and my students will damn you for giving me this idea :D

  • @danialves5554
    @danialves5554 Před 4 lety +705

    Code Bullet: *Creates a calculator using marbles as binary*
    Also Code Bullet: "I'm not creative enough to think of numbers."

  • @alexlemarchant4376
    @alexlemarchant4376 Před 4 lety +3419

    Adding 5+7
    Normal people: Easy it's 12
    Code Bullet: Yeah, this is big brain time.

    • @CUBETechie
      @CUBETechie Před 4 lety +10

      12 --> C --> 0000 1100

    • @Lem0nwtf
      @Lem0nwtf Před 4 lety +6

      @@CUBETechie ok

    • @Lem0nwtf
      @Lem0nwtf Před 4 lety +7

      @@CUBETechie he literally said that in the video

    • @mscold2718
      @mscold2718 Před 4 lety +4

      Carry it to 57

    • @Daniel-ss5tg
      @Daniel-ss5tg Před 4 lety +4

      The funniest part is that even tho the marble calculator calculated the value, but you have to calculate the number value yourself. So if Code Bullet would add a binary converter from binary to actual graphical numbers, then it would be better.

  • @connorjohnson7834
    @connorjohnson7834 Před 4 lety +867

    For when the exam says no electronic calculators

    • @theKashConnoisseur
      @theKashConnoisseur Před 4 lety +38

      Abbacus time!

    • @Yotanido
      @Yotanido Před 3 lety +8

      That's when you bring a curta (tiny mechanical calculator)

    • @zombieslayer1468
      @zombieslayer1468 Před 3 lety +9

      did you know your brain runs on electricity
      CORRECTION: it works using electricity

    • @slimyduck2140
      @slimyduck2140 Před 2 lety +4

      @@zombieslayer1468 *shutdown brain*

    • @umcThunder72
      @umcThunder72 Před 2 lety

      @@zombieslayer1468 your brain "runs" on a lot and none of it is what we think of when we say electricity

  • @LocalMaple
    @LocalMaple Před 4 lety +802

    “...Least efficient calculator...”
    You haven’t seen Mario Maker levels...

    • @kingmeprime
      @kingmeprime Před 4 lety +8

      Or even minecraft ones!

    • @Kekatronic
      @Kekatronic Před 3 lety +44

      @@kingmeprime minecraft ones are pretty efficient since redstone computing is actual binary code but virtual, they work on the same concept with 1 being on and 0 being off

    • @thatotherandrew_
      @thatotherandrew_ Před 3 lety +22

      @@Kekatronic Not efficient when it comes to processing. Your computer will be simulating an entire fictional block world just to perform a single fundamental mathematical operation.

    • @novastar6112
      @novastar6112 Před 3 lety +27

      @@thatotherandrew_ Better than calculating the physics of a marble, at the very least.

    • @lucidmlem
      @lucidmlem Před 3 lety +1

      This is actually how SMM calculators work but nice joke

  • @The_Dapper_Cat
    @The_Dapper_Cat Před 3 lety +57

    “The worlds least efficient calculator” Is just me during a test

  • @Voli1Beart
    @Voli1Beart Před 5 lety +2869

    Exam : You can use a calculator.
    Me: *getting my marble collection out of the backpack*

    • @nebulous962
      @nebulous962 Před 5 lety +13

      :D

    • @TheFacundo12345
      @TheFacundo12345 Před 5 lety +118

      Voli1Beart 3+8= FUCK

    • @KiemPlant
      @KiemPlant Před 5 lety +13

      Nah it's 1011

    • @TheFacundo12345
      @TheFacundo12345 Před 5 lety +20

      KiemPlant oh shit, then 8+8= FUCK

    • @KiemPlant
      @KiemPlant Před 5 lety +17

      Ah you meant it like that. 3+8 wouldn't work either because you can't input an 8 (1000) in a 3 bit adder.. But binary adders are quite stackable, so he could make it into a 4 bit adder. The hardest part is displaying the output so that it's easy to read, but as long as you know binary it's not a problem.

  • @BerzerkerTank
    @BerzerkerTank Před 5 lety +488

    There is a barrier between "Can I do something?" and "Should I do something?"
    Clearly we've not hit that barrier yet.

    • @sandearcubus9299
      @sandearcubus9299 Před 5 lety +10

      No, you should do something because you can. It's like engineering 101 dude!

    • @MaxsRoost
      @MaxsRoost Před 4 lety +1

      If you do what you love you'll never work a day in your life... Or you will and you'll make something awesome!!

    • @navoneelnandan8070
      @navoneelnandan8070 Před 4 lety

      @@sandearcubus9299 you mean Engineering 5 in decimal?

  • @wagyourtai1
    @wagyourtai1 Před 4 lety +156

    6:50 "so this is the full adder", `Full Adder` is the actual name of the electronic circuit that does this, so i see what you did there.

  • @MysticalApple
    @MysticalApple Před 4 lety +57

    6:56 you’re actually looking for sum = 1 carry = 1

    • @fatipocyte2510
      @fatipocyte2510 Před 3 lety +7

      Was looking for this comment apparently no one else cared enough to check the results lol

    • @harsharya545
      @harsharya545 Před 3 lety +1

      Yes baby that's how we do it someone carryone

  • @ac3d225
    @ac3d225 Před 5 lety +677

    Least efficient calculator, you say? I think my brain would disagree.

  • @MrSeon123
    @MrSeon123 Před 5 lety +707

    Least efficient calculator, you say? I think Matt Parker and his domino calculator would disagree.

    • @julienveron1427
      @julienveron1427 Před 5 lety +41

      Seon-Ho that's someone with good references

    • @dandanthedandan7558
      @dandanthedandan7558 Před 5 lety +1

      Seon-Ho link?

    • @akiwiwithaface8911
      @akiwiwithaface8911 Před 5 lety +53

      Seon-Ho someone made a calculator in roller coaster tycoon

    • @dandanthedandan7558
      @dandanthedandan7558 Před 5 lety +14

      A kiwi with a face WHAT

    • @julienveron1427
      @julienveron1427 Před 5 lety +16

      A kiwi with a face and someone build omne from redstone in minecraft.. but matt parker is waaaay beyond that XD it take like a DAY to calculate 5+4

  • @santy5868
    @santy5868 Před 3 lety +101

    Me: 1 + 1 = 3
    Calculator:
    IM GOING TO LOOSE MY MARBLESS

  • @chachachannel3996
    @chachachannel3996 Před 3 lety +35

    This should be called, "When programmers becomes bored and wants to ruin their day again after thinking, coding, and debugging for how many hours."

  • @visiourus7173
    @visiourus7173 Před 5 lety +681

    If you aren't allowed to use a calculator in a test, just build this on your table and you're good to go

    • @g_ninja
      @g_ninja Před 5 lety +104

      Visiourus "build" I think you'll have a better time pulling Excalibur out of the stone then building this

    • @xandergrant8854
      @xandergrant8854 Před 5 lety +7

      Acid Rain
      Lies.

    • @danieldragojevic3016
      @danieldragojevic3016 Před 5 lety +27

      @Games4thewin actually, you can make a fully working calculator with all functions in theory

    • @okthen3583
      @okthen3583 Před 5 lety +19

      Oh boy we got some hardcore r/whoooosh's here

    • @hh126
      @hh126 Před 5 lety +3

      lol

  • @byte6428
    @byte6428 Před 5 lety +352

    Now *_THIS_* is the quality content I subscribed for.

  • @kmayasobru5386
    @kmayasobru5386 Před 4 lety +51

    Dude we actually need to make a calculator for school, you helped me figure out how.

  • @carazy123_
    @carazy123_ Před 3 lety +102

    I like how you spent time explaining logic gates and binary and everything but not how you combined them to... *ahem* calculate

    • @b40z74
      @b40z74 Před 2 lety

      you could find that anywhere the marble logic gate part is more interesting

    • @doyoufeel...thatyoulackcri6760
      @doyoufeel...thatyoulackcri6760 Před 2 lety +2

      I always recommend anyone who is a little interested in tech, to start out on Ben Eaters channel and then go on from there. This stuff has been known for more than 100 years now, so there will be all kinds of people who have already explained it on youtube, there will also be someone who thinks like you who can explain it so you understand it imediately.
      But Ben Eater is sort of the default starting point for this kind of things IMO.

  • @oscarpinon3085
    @oscarpinon3085 Před 5 lety +4265

    Me: Mom can we get calculator?
    Mom: No, we have calculator at home
    Calculator at home:

    • @Sir_Isaac_Newton_
      @Sir_Isaac_Newton_ Před 5 lety +5

      John Wick en casa

    • @niklasswoboda6238
      @niklasswoboda6238 Před 4 lety +7

      Omg that comment is so underrated

    • @Sir_Isaac_Newton_
      @Sir_Isaac_Newton_ Před 4 lety +1

      @Hasanchik Gaming this first person that talks wants a calculator, his/her mom says that they already have a calculator, which is true, but this calculator is the same as the one in the video

    • @David-hl9iv
      @David-hl9iv Před 4 lety +19

      @@niklasswoboda6238 It is not underrated... This template is one of the most overused together with
      everyone: nothing
      someone: *does random thing*
      me: [insert funny deep fried skittle with legs]

    • @samm44_
      @samm44_ Před 4 lety +2

      what kid asks for a calculator

  • @lindybeige
    @lindybeige Před 5 lety +1096

    This is important work.

    • @4d1ce
      @4d1ce Před 5 lety +11

      I bet the berserkers came up with this, eh Lindy?

    • @potterfanz6780
      @potterfanz6780 Před 5 lety +17

      I think this is this the first time I've come across you when I wasn't watching one of your videos. Woo!

    • @wakinki
      @wakinki Před 5 lety +2

      we need to make marble computers !

    • @jacobstewart6014
      @jacobstewart6014 Před 5 lety +2

      Wow I was just watching one of his videos like 5 minutes ago. What a coincidence

    • @JZ909
      @JZ909 Před 5 lety +5

      Another channel that I'm a fan of, that has NOTHING to do with this one, posts a comment here. Awesome!

  • @adammullarkey4996
    @adammullarkey4996 Před 4 lety +56

    "So, to build the world's least efficient calculator..."
    Matt Parker: *Laughs in domino*

    • @Beateau
      @Beateau Před 3 lety

      CZcams needs love reacts.

  • @okboing
    @okboing Před 3 lety +16

    Cb: speaks
    Random guy: responds
    Cb:
    YoU sPeAk WhEn SpOkEn To!

  • @notsomlgperson1919
    @notsomlgperson1919 Před 5 lety +540

    If I used this calculator, I'd be on question one when the exam ends.

    • @Rayka_96
      @Rayka_96 Před 4 lety +10

      and then there would be only a 60% chance to get that first calculation right xD

  • @itslullas
    @itslullas Před 5 lety +1991

    If you guys want a marble calculator that adds up natural numbers of any size, all you need is a funnel and a bowl. Throw the amount of marbles you want to add up in the funnel, then count the result in the bowl. Awesome right?

    • @patrickhector
      @patrickhector Před 5 lety +88

      You don't really need a funnel for that

    • @Jtngetabettername
      @Jtngetabettername Před 5 lety +84

      Don't know, I think I'll much prefer base 2 than base 1

    • @el_sancho_2094
      @el_sancho_2094 Před 5 lety +32

      I have a tube that has a large opening and ends with a smaller circle at the end will that work too?

    • @nikitakrim02
      @nikitakrim02 Před 5 lety +16

      @@Jtngetabettername well you can do this funnel life hack with binary too. Just picture 3 as 11 in your head

    • @leoncryp8182
      @leoncryp8182 Před 5 lety +8

      Maybe you dont know how to appreciate what he has done, probably due to you not understanding how a CPU works, I personally find it amazing where someone has done a gravity feed calculator.
      You are doing the addition in your head, if you look from computer science point of view down via hardware machine language, input 2 numbers into a black box and it out puts the sum, all this is done with binary, eg 0 and 1 only, and not 0,1,2,3,4,5.......9......
      the limitation to his solution is its done in with gravity feed hardware, if it was done electronically, you can add numerous large numbers extremely fast, where your head just cant calculate.

  • @laggianput
    @laggianput Před 3 lety +68

    "Least efficient calculator"
    Have you SEEN people play mario maker

  • @legendgames128
    @legendgames128 Před 3 lety +14

    "World's least efficient calculator"
    Standupmaths domino calculator: am I a joke to you?

  • @henryambrose8607
    @henryambrose8607 Před 5 lety +491

    It ends up looking like a Doom map by the time you're done.

  • @KiemPlant
    @KiemPlant Před 5 lety +290

    1010/1010 Would watch again.

  • @brodykladis8125
    @brodykladis8125 Před 4 lety +16

    No... I’m not going to 3D print this and use it on my next math test... that would be stupid

    • @necaton
      @necaton Před 3 lety

      im not sure if i believe it

  • @APerson-14
    @APerson-14 Před 3 lety +7

    When you watched code bullet when he still censored his video: you are OG

  • @micha5816
    @micha5816 Před 5 lety +357

    *Next video: AI learns to cheat Captcha **_(I'm not a robot test)_*

    • @etaleo2748
      @etaleo2748 Před 5 lety +48

      Well, it depends on which kind of Captcha you're talking about. If you're talking about the completely random string of letters with noise, lines, and distortion, called RECaptcha, Google has found that real humans could solve these approximately 33% of the time, and AI at Google could solve the RECaptchas about 99% of the time. If you're talking about the "I'm not a robot" (NoCaptcha RECaptcha) check box that most websites use, that one sends an http request that tracks several things, such as the IP address, the country, the way your cursor moves to the box, and many other factors that Google has not been willing to share. As is usual with Code Bullet, he makes all of his projects available on GitHub, so it would be bad if he made that video saying how he made an AI to cheat the test. Also, he would have to be able to recreate the thing he is trying to test, like he did with the "World's Hardest Game" AI. Considering how complex the test is, it would be nearly impossible for just one person to recreate all that.
      TL;DR Captcha is too complex to recreate, and there would be major consequences if by some chance he was able to create an AI to cheat the test.

    • @taisstea7306
      @taisstea7306 Před 5 lety +11

      Tokei i feel educated

    • @scottcarothers837
      @scottcarothers837 Před 5 lety +1

      wooosh

    • @hh126
      @hh126 Před 5 lety

      lol

    • @hh126
      @hh126 Před 5 lety

      Tokei I already knew that...

  • @SecretAsian27
    @SecretAsian27 Před 5 lety +428

    We need a physical version

    • @alengm
      @alengm Před 4 lety +18

      With a robot that resets the marbles to initial positions. Also, come up with a better not gate. Timers are stupid.

    • @stoler7980
      @stoler7980 Před 4 lety +5

      Alen You could have the marble ram into the blocker and then drop, which would block the timer and go down instantly.

    • @brodykladis8125
      @brodykladis8125 Před 4 lety +6

      I’m thinking of 3D printing this next weekend, but it’s gonna be hard to convert. Also timing is different in real word so I’ll have to redesign

    • @549Champion
      @549Champion Před 4 lety +1

      czcams.com/video/OpLU__bhu2w/video.html .... here is a physical version made of dominoes

    • @AaAa-sr4um
      @AaAa-sr4um Před 4 lety +1

      czcams.com/video/GcDshWmhF4A/video.html

  • @rioverde40
    @rioverde40 Před 4 lety

    Dude your a freaking legend.... Once I watched your first video I was hooked.. the dialogue is funny, and your are in my humble eyes a beast with this stuff. Actually makes me want to learn to code..

  • @gavin8545
    @gavin8545 Před 4 lety +9

    “Morning class! Today I’d like to show you my binary marble calculator!”
    “...This is history”

  • @sstream17
    @sstream17 Před 5 lety +2117

    Great introduction to binary and logic!

    • @jt1360
      @jt1360 Před 5 lety +7

      sstream17 I agree but he just needs to slow down a bit

    • @simonklein6588
      @simonklein6588 Před 5 lety

      Well... Logic?

    • @birdobots9286
      @birdobots9286 Před 5 lety +20

      logic is those gates he talked about like the and or xor AND not

    • @dagamer_hd408
      @dagamer_hd408 Před 5 lety

      sstream17 o

    • @hh126
      @hh126 Před 5 lety +1

      Gg

  • @FirstRisingSouI
    @FirstRisingSouI Před 4 lety +329

    Next step: a whole-brain emulator using only marbles. Real marbles, none of this virtual hogwash.

  • @ZachHixsonTutorials
    @ZachHixsonTutorials Před 4 lety +6

    If my kid ever asks how calculators work, I am going to show them this video and tell them that this is what's inside every calculator

  • @williamrawsthorne6428
    @williamrawsthorne6428 Před 4 lety +3

    I wish code actually had an upload schedule, I just love his vibe

  • @xlordday7241
    @xlordday7241 Před 5 lety +421

    Wrong. The domino calculator is the most inefficient calculator.
    1 day to set up a 3 bit addition.

    • @deflatedfruit4716
      @deflatedfruit4716 Před 5 lety +28

      #parkersquare

    • @domotron3598
      @domotron3598 Před 4 lety +6

      Somebody made a stage in Mario maker 2 that is a calculator and takes like 4 minutes for an answee

  • @HDSQ
    @HDSQ Před 5 lety +859

    "I know your attention spans can't handle this so here's a picture of a pug"

    • @VeeOasis
      @VeeOasis Před 5 lety +4

      lol

    • @mawesome4ever
      @mawesome4ever Před 5 lety +25

      “ I’m sorry, I only remember seeing the pug in your video”

    • @elliotlea5457
      @elliotlea5457 Před 5 lety +1

      HDSQ, I'm waiting for your next black midi

    • @ant0ngu
      @ant0ngu Před 5 lety +1

      Blue midi

    • @elliotlea5457
      @elliotlea5457 Před 5 lety +1

      @@spidercubed9718 Cause if you print them they're black. Paper is, in fact, racist.

  • @beethekay
    @beethekay Před 3 lety +5

    "I'm sorry this video took a while to come out" Yeah it's okay, we are used to it

  • @cassie6645
    @cassie6645 Před 4 lety

    I really love learning new things from your videos but also the charisma in your voice makes it so much better :)

  • @JustAGiraffe
    @JustAGiraffe Před 5 lety +1520

    Buddy I think you've lost your marbles

  • @kinggoldcatter9932
    @kinggoldcatter9932 Před 5 lety +472

    *me who has no idea what is going on* brilliant

  • @misophoniac
    @misophoniac Před 3 lety

    Your videos are SO good, thanks for the absolute insane content

  • @luckytabler2520
    @luckytabler2520 Před 3 lety +2

    I just started a computer science foundations class and I just learned about the logic gates. The way he explained it made it so easy to remember.

  • @hazardtrooper2791
    @hazardtrooper2791 Před 5 lety +77

    When code bullet doesn’t have a calculator: “Ima just make one from marbles”

  • @marcelgansfusz5476
    @marcelgansfusz5476 Před 5 lety +232

    Now I know why a calculator uses electricity insetad of marbls

    • @macaroon_nuggets8008
      @macaroon_nuggets8008 Před 4 lety +13

      I'm imaging you googling *why do calculators use electricity instead of marbles*

    • @sonicfon
      @sonicfon Před 4 lety

      @@macaroon_nuggets8008 check mechanical calc.

  • @8skull227
    @8skull227 Před 4 lety +12

    Addition: just take the first number of marbles down one tube and the second going down the same tube and count the number of marbles in the tube

  • @hapsti
    @hapsti Před 4 lety +66

    Ok class take out your calcultors
    Code bullet:Here miss
    Teacher: :O

  • @TrigamDev
    @TrigamDev Před 5 lety +2147

    The only reason I understand logic gates is because of Minecraft redstone circuitry lol

  • @CRISPAPIpubgm99
    @CRISPAPIpubgm99 Před 5 lety +35

    Nephew: what's 3+6
    Me: let me pull out my calculator
    Me 3mins later: it's 1001
    Nephew: "fails homework"

  • @Tiwill0V2
    @Tiwill0V2 Před 4 lety

    i don't know HOW you are doing it but you are the only "coding related" channel that i've ever laugh at and you are doing it multiple time per video for every video xD Keep it up, you are amazing! :D

  • @agentember2143
    @agentember2143 Před 3 lety +1

    This is really cool. I was able to use this to use this to make a modular addition calculator in minecraft.

  • @KevinBoosts
    @KevinBoosts Před 5 lety +221

    6:55 1+1+1 = 3 = Carry 1 Sum 1, it says 'sum = 0 carry = 1' on the screen though

  • @happyryan2502
    @happyryan2502 Před 5 lety +1042

    I have a better, simpler marble calculator. You put 5 marbles in a tube. Then you put in 7 more marbles. Count the marbles. You have 12 marbles, which is the correct answer!
    but this is way cooler

    • @TheDBest1994
      @TheDBest1994 Před 5 lety +27

      The output is in binary, not in decimal.

    • @tux1468
      @tux1468 Před 5 lety +82

      PurpleKingCrazy
      thats not decimal, its unary
      edit: jesus christ what have i started

    • @NxVernxual
      @NxVernxual Před 5 lety +38

      That's not Protese, its Psychology

    • @brianalex1854
      @brianalex1854 Před 5 lety +29

      That's not Psychology, it's Anthropology

    • @winstonli5565
      @winstonli5565 Před 5 lety +28

      That’s not Anthropology, it’s Defenestration

  • @bartomiejdziao9594
    @bartomiejdziao9594 Před 4 lety

    Your videos tickle my brain in most pleasant areas. Good job.

  • @theKashConnoisseur
    @theKashConnoisseur Před 4 lety +12

    Minecraft Redstone taught me everything I know about logic gates.

  • @fqidz
    @fqidz Před 5 lety +96

    Now make supercomputers which can compute numbers at 30x the speed of light using only marbles and try playing Fortnite with it.

    • @forcerous_5127
      @forcerous_5127 Před 5 lety +3

      @@laughoutgoudo1084 if only it was real...

    • @GRBtutorials
      @GRBtutorials Před 5 lety +1

      The speed of light is not relevant for talking about computer speed, you know?

    • @GoodOlKuro
      @GoodOlKuro Před 5 lety

      relevant xkcd xkcd.com/505/

  • @WholesomeLad
    @WholesomeLad Před 5 lety +1818

    Are you ok?

  • @seditt5146
    @seditt5146 Před 3 lety

    I just made an ALU using Neural networks trained to be Logic gates and then strung together to form Binary Adder, Subtractor, AND, OR up to N number of Digits. Pretty proud of it. Worked better than I could expected, I thought the variance in output of Neural network was going to compound and mess the system up but it works flawlessly and appears to be self correcting.

  • @peanut_butter_pancake2067

    I remember using these same gates for a similar PLC project... didn't expect to ever see that stuff again

  • @circli
    @circli Před 5 lety +32

    Btw You could make the gates wait until a marble “activator” activates them and then release the correct output, this way You will not need to wait while using the NOT gate... :)

    • @aurielklasovsky453
      @aurielklasovsky453 Před 5 lety +1

      also the xor gates would be much quicker, but you would need a 3d space to fit your clock tubes...

  • @nathanhunt9105
    @nathanhunt9105 Před 5 lety +1027

    This is such a massive waste of everyone's time--yours, mine, CZcams's servers.
    It's perfect. Lmao.

    • @BloodyRainRang
      @BloodyRainRang Před 5 lety +53

      Education is NEVER a waste. The approach might be, but not the educational value of seeing a physics based calculator.

    • @thoughtfulsoul3402
      @thoughtfulsoul3402 Před 4 lety +2

      Normal People: 5+7 is 12 thats obvious
      Codebullet: Imma ̶H̶e̶a̶d̶ ̶o̶u̶t̶ Pull out my calculator

    • @leqwess9185
      @leqwess9185 Před 4 lety +1

      666 like perfect

    • @maxk4324
      @maxk4324 Před 4 lety +1

      @@BloodyRainRang r/woooosh

    • @lordofchickenz6392
      @lordofchickenz6392 Před 3 lety +2

      That isn't a woosh

  • @Dodger1592
    @Dodger1592 Před 3 lety

    I’m actually using the video to help study for my college Digital Logic class. Thank you Code Bullet!

  • @deadspace2595
    @deadspace2595 Před 4 lety +5

    1+1
    normal people: 2
    trolls: 11
    Binary code: *Laughs in 1 and 0*

  • @joyalmathew2156
    @joyalmathew2156 Před 5 lety +28

    6:31 XOR gate stands for exclusive OR gate, kind of makes sense

  • @captainpalegg2860
    @captainpalegg2860 Před 5 lety +88

    Imagine building something like this in the real world.

    • @nyanbrox5418
      @nyanbrox5418 Před 4 lety +17

      we did...
      its called a calculator.
      domino ones are even worse

    • @Proud_Knight
      @Proud_Knight Před 4 lety

      @@nyanbrox5418 ​ not sure if you're joking too or if you just didn't get his joke to begin with
      Inb4 "r/woooosh"

    • @nyanbrox5418
      @nyanbrox5418 Před 4 lety +2

      @@Proud_Knight oooooooh, I'm dumb lol

    • @Liggliluff
      @Liggliluff Před 4 lety +5

      Well, there are physical calculators that only use physics to make the calculations. There are ones calculating in base 10, and also can do multiplication. One has been feature on Numberphile, and it's quite facinating.

    • @miles1337
      @miles1337 Před 4 lety

      Google Turing Tumble. Addition subtraction multiplication etc...

  • @jaesjmes5498
    @jaesjmes5498 Před rokem

    22nd of December 2022: this is a good video and Evan hasn’t really changed much personality wise, which is good.

  • @aayushbadal7100
    @aayushbadal7100 Před 4 lety

    I was familiar with the concept but didn’t know it be this fun thanks man

  • @footlover9416
    @footlover9416 Před 5 lety +21

    I love how much he improved with his drawings from now to his ai walking vid
    I just chose those vids bc im new to this channel and am watching out of order

  • @rickastley885
    @rickastley885 Před 5 lety +6

    XOR stands for exclusive OR, which means that if either input EXCLUSIVELY is powered, it has a positive output. Hope that made sense.

  • @carnright
    @carnright Před 4 lety

    Very cool! All physics based calculators are fun to watch or design! Thank you for making this 🙂 add and carry look interesting as a three value Venn diagrams 🙂

  • @rlhugh
    @rlhugh Před rokem

    this is so creative. I think this is the first time I've ever seen an adder made from marbles. Awesome.

  • @VarunGupta3009
    @VarunGupta3009 Před 5 lety +55

    "Code Bullet: The only place on Earth where ballz and line rider meet to create adder circuits."

  • @disuko
    @disuko Před 5 lety +66

    *puts 7 marbles on table*
    *puts 5 marbles on table*
    *counts marbles*
    12!! BAM MARBLE CALCULATOR BABY

    • @tux1468
      @tux1468 Před 5 lety +2

      you dont need to count the marbles when you already have the result

  • @U9B
    @U9B Před 4 lety +8

    I spent a good part breaking the gates by spamming balls.

  • @LazySmurf
    @LazySmurf Před 11 měsíci

    This has always reminded me every time I've watched it over the years of that Matchbox AI that StandUpMaths made, where it learned to play X's and O's. It was called MENaCE for Matchbox Educable Noughts and Crosses Engine. Highly recommend

  • @littleblueclovers
    @littleblueclovers Před 5 lety +4

    I love how you sound so amused talking about this! You sound constantly on the verge of bursting into laughter and It makes me feel happy as well. The jokes feel funnier and overall it’s a blast to hear you just... talk about things. Totally subbed.

  • @SubscribersWithNoVideosC-ij6yt

    I wish this was my coding class.

    • @johnsalisbury4420
      @johnsalisbury4420 Před 5 lety +7

      Same bro. Heck, why doesn't Evan just start his own online coding class? He could just tell everyone who follows his channel and bam- he's got all the students he needs xD

    • @2ooo996
      @2ooo996 Před 5 lety

      I fucking hate your profile name.

    • @SubscribersWithNoVideosC-ij6yt
      @SubscribersWithNoVideosC-ij6yt Před 5 lety +1

      Ok, you need to chill, I'm just trying to do a challenge.

    • @2ooo996
      @2ooo996 Před 5 lety

      Yeah, a useless "challenge" that doesn't challenge you, dingus.

    • @SubscribersWithNoVideosC-ij6yt
      @SubscribersWithNoVideosC-ij6yt Před 5 lety +1

      Ok that's fine

  • @lagunax5645
    @lagunax5645 Před 2 lety

    This gave me an idea for a marble calculator. You just take a number of marbles equal to the numbers you're adding together, split between two rows, then release them at the same time into a mechanism as I've diagramed below in ASCII:
    Y

  • @twig4661
    @twig4661 Před 4 lety +6

    so basically you are that crazy guy in the back ground mumbling about how you lost your marbles

  • @VaradMahashabde
    @VaradMahashabde Před 5 lety +48

    6:53 Not to be that guy, but you should be looking for sum=1 and carry=1, and you did, but you put text on screen saying otherwise, so...
    .
    .
    .
    IT'S ALL LIES!!

    • @michaelwoodford8595
      @michaelwoodford8595 Před 5 lety +2

      *Unsubscribes*

    • @d4TheViewer
      @d4TheViewer Před 5 lety

      "3+6=1001" What....?

    • @VaradMahashabde
      @VaradMahashabde Před 5 lety +2

      @@d4TheViewer that is in binary(base 2)
      So *1001* is
      2^3× *1* + 2^2× *0* + 2^1× *0* + 2^0× *1* (in decimal (base 10))
      = 8 + 0 + 0 + 1
      = 9 = 6+3

  • @fqidz
    @fqidz Před 5 lety +24

    Up next on Code Bullet: Making babies using ONLY frogs and hamsters.. (Gone Wild)

  • @sineapfel1971
    @sineapfel1971 Před 3 lety +3

    10:13 CB: "1009 coming up"
    Me: "Wait, thats illegal!"

  • @jaloveast1k
    @jaloveast1k Před 4 lety +1

    For anyone interested in the topic there is a great book from Charles Petzold called "Code: The Hidden Language of Computer Hardware and Software"
    It explains everything like you are in elementary school, yet it's fun to read (even as a senior software engineer) and it walks you all the way from ANDs/ORs thru the telegraph era and ens up explaining how modern computers work.

  • @trolllol7264
    @trolllol7264 Před 5 lety +286

    I learned about logic gates because of Minecraft (Redstone)

    • @phoenixyt124
      @phoenixyt124 Před 5 lety +22

      Me too :) i learned from mumbo Jumbo :P

    • @VaradMahashabde
      @VaradMahashabde Před 5 lety +3

      Edutainment, son!!!

    • @onmelancholyhill1
      @onmelancholyhill1 Před 5 lety +2

      Same from Mumbo jumbo!

    • @KiemPlant
      @KiemPlant Před 5 lety +7

      Same-ish. I learnt binary because of Minecraft. I made calculators and stuff like that most of the time.

    • @emiliathorsen9759
      @emiliathorsen9759 Před 5 lety +1

      Troll Lol me to i built a half functional computer i minecraft!

  • @probablythismfbutonsteroid6625

    I "invented" (discovered) a calculation method to multiply and divide numbers. For example, if you want to divide 14.3 by 5.6, you just need to draw two lines with those exact lengths in whatever unit you like (i.e. centimeters), then draw some super easy aditional lines connecting them in a certain way, and that will result in a third line measuring exactly 2.55357... cm, which is the answer. It's so intuitive I wonder if ancient civilizations used it to build their stuff.

    • @probablythismfbutonsteroid6625
      @probablythismfbutonsteroid6625 Před 5 lety +43

      *TO MULTIPLY a by b* :
      1) Draw a point, called P0.
      2) From P0, draw two lines of length *a* , one towards the north called L1 and one towards the east called L2. The other ends of L1 and L2 (the ones that are not P0) are called P1 and P2 respectively.
      3) From P2, draw a 1 cm line towards the north, called L3. The other end of L3 (the one that is not P2) is called P3.
      4) Draw a long line called L4 starting at P0, passing over P3 and extending beyond.
      5) Draw a long line called L5 from P1 towards the east. The intersection between L4 and L5 is called P4.
      6) Draw a long line called L6, from P4 extending both to the north and the south.
      7) Draw a line called L7, from P2 to the east. The intersection between L6 and L7 is called P5.
      8) Draw a line called L8 from P2 to the north, measuring *b* . Notice it will overlay L3. The other end of L8 (the one that is not P2) is called P6.
      9) Draw a long line called L9 starting at P0, passing over P6 and extending beyond. The intersecion between L6 and L9 is called P7.
      10) Draw a line called L10 from P5 to P7. Its length is exactly the result of the multiplication.

    • @probablythismfbutonsteroid6625
      @probablythismfbutonsteroid6625 Před 5 lety +38

      *TO DIVIDE a by b* :
      1) Draw a point, called P0.
      2) From P0, draw a line called L1 of length *a* , towards the east. The other end (the one that is not P0) is called P1.
      3) From P0, draw a line called L2 of length *b* , towards the north. The other end (the one that is not P0) is called P2.
      4) From P1, draw a 1 cm line towards the south, called L3. The other end (the one that is not P1) is called P3.
      5) Draw a long line called L4 from P3 towards the east.
      6) Draw a long line called L5 starting at P2, passing over P1 and extending beyond. The intersection between L4 and L5 is called P4.
      7) Draw a line called L5 from P3 to P4. Its length is exactly the result of the division.

    • @marisa2555
      @marisa2555 Před 5 lety +23

      The Greeks mostly used geometric constructs to define numbers - look up the concept of "constructible numbers" if you're interested.

    • @low-pressurearea3246
      @low-pressurearea3246 Před 5 lety +22

      Also known as the Slide Rule. Good to see people brains actually relating to their ancestors works of actual precision!

    • @arturoramirez8933
      @arturoramirez8933 Před 5 lety +5

      e Pi Red Blue Green Not quite. In order to build a slide rule that can multiply and divide, you must first build two logarithmic scaled rules, which might be kind of a bitch task.

  • @fenn5327
    @fenn5327 Před 4 lety +10

    Everyone: Oh! A new Code Bullet video!
    Me: *still waiting for enigma machine two*

  • @bucketofhead414
    @bucketofhead414 Před 3 lety +2

    When your a genius caveman with a computer and youre trying to make something to add rocks together.

  • @solarmanatee4667
    @solarmanatee4667 Před 5 lety +38

    Can I just say that I love this channel? This is grade A content.

    • @PandoraMakesGames
      @PandoraMakesGames Před 5 lety +1

      I know it's great right? I hope I can reach the same level on my AI videos.

    • @thezipcreator
      @thezipcreator Před 5 lety

      +Minecraft Creations
      No they mean Grade A content

    • @KiemPlant
      @KiemPlant Před 5 lety

      Grade 01000001?

    • @pineapplettfto92
      @pineapplettfto92 Před 5 lety

      dang it you stole my GradeAUnderA joke

    • @God-oc5ls
      @God-oc5ls Před 5 lety

      The Zip Creator r/woooosh

  • @Minecraftgnom
    @Minecraftgnom Před 5 lety +27

    6:54 You tested 1+1+1 but afterwards show that you are looking for sum=0 and carry=1, even though both need to equal 1 (which they at least do). >_>

  • @ftwgaming0
    @ftwgaming0 Před 3 lety

    Reading and writing binary is as follows. Starting from the right and reading to the left, every digit is twice the amount of the digit before it starting from 1. So it will be 16, 8, 4, 2, 1. To translate a number from binary to decimal is to add the values that hold a 1. For example, 11111 is 31 because it's 16+8+4+2+1. To translate a number from decimal to binary, you just need to play with the values a bit and see what adds up to the number you're translating from. Try translating 29 into and from binary now. It is (11101) because 16+8+4+1=29. We don't add 2 because it's a 0

  • @OxalicCrystals
    @OxalicCrystals Před 4 lety +3

    I literally studied this stuff today in class and this was recommended to me