Branchwell

Watch Encyclopedia / website / binary / index.html

1<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
2<title>Binary Numbers | Watch Encyclopedia</title><meta name="description" content="Flip eight switches and see how ones and zeros become numbers, letters and shades."><link rel="canonical" href="https://watchencyclopedia.org/binary/">
3<meta property="og:type" content="website"><meta property="og:site_name" content="Watch Encyclopedia"><meta property="og:title" content="Binary Numbers | Watch Encyclopedia"><meta property="og:description" content="Flip eight switches and see how ones and zeros become numbers, letters and shades."><meta property="og:url" content="https://watchencyclopedia.org/binary/"><meta property="og:image" content="https://watchencyclopedia.org/img/og.jpg"><meta name="twitter:card" content="summary_large_image">
4<meta name="theme-color" content="#f6f2ea" media="(prefers-color-scheme: light)"><meta name="theme-color" content="#121110" media="(prefers-color-scheme: dark)">
5<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14' fill='%23f6f2ea' stroke='%231d1a16' stroke-width='2.5'/%3E%3Cpath d='M16 8v8l5 3' stroke='%23b07a33' stroke-width='2.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"><link rel="stylesheet" href="/assets/site.css?v=12306844"><script type="application/ld+json">{"@context": "https://schema.org", "@type": "LearningResource", "name": "Binary Numbers", "description": "Flip eight switches and see how ones and zeros become numbers, letters and shades.", "learningResourceType": "Interactive simulation", "isAccessibleForFree": true, "publisher": {"@type": "Organization", "name": "Watch Encyclopedia"}}</script></head><body><div class="wrap">
6<header><a class="brand" href="/"><svg viewBox="0 0 32 32" aria-hidden="true"><circle cx="16" cy="16" r="13" fill="none" stroke="currentColor" stroke-width="2.4"/><path d="M16 8v8l5 3" stroke="#b07a33" stroke-width="2.6" fill="none" stroke-linecap="round"/></svg>Watch Encyclopedia</a><button class="menu" aria-expanded="false" aria-controls="nav">Menu</button><nav id="nav"><a href="/#explore">Explore</a><a href="/watches/">Watches</a><a href="/glossary/">Glossary</a><a href="/about/">About</a></nav></header>
7<div class="entry-h"><div class="crumbs"><a href="/">Home</a> / <a href="/#explore">Computing</a></div><h1>Binary Numbers</h1><p class="lede">Computers store everything as ones and zeros. Flip eight switches and see how that can mean anything at all.</p></div><section class="stage " data-exp="binary"><div class="scr"><canvas role="img" aria-label="Binary Numbers, interactive"></canvas><button class="fs" type="button" aria-label="Full screen" title="Full screen">&#x26F6;</button></div><p class="cap" aria-live="polite"></p><div class="ctl"></div></section><div class="below"><div class="panel"><h2>What you are seeing</h2><p>Each switch is worth double the one to its right: 1, 2, 4, 8 and so on. Add up the ones that are on.</p><p>The same eight bits can be read as a number, a letter or a brightness. A photo, a song and this page are all long rows of switches like these.</p></div><div><div class="panel"><h2>Try this</h2><ul><li>Make the number 100.</li><li>Turn on Count up and watch the pattern ripple.</li><li>Press Double it and see every bit slide one place left.</li><li>Find the capital letter A. It is 65.</li></ul></div><div class="panel" style="margin-top:20px"><h2>Numbers</h2><dl class="facts"><dt>Values in one byte</dt><dd>256</dd><dt>Largest value</dt><dd>255</dd><dt>Capital A</dt><dd>65, or 01000001</dd></dl></div></div></div><section class="sec-b"><p class="k">Keep watching</p><h2>More to explore</h2><div class="grid"><a class="tile" href="/life/" data-cat="computing" data-t="the game of life not a game you play. a grid of cells follows one small rule, and things that look alive appear by themselves. computing"><span class="th" style="background-image:url(/thumb/life.webp)" role="img" aria-label="The Game of Life"></span><span class="tb"><p class="k">Computing</p><h3>The Game of Life</h3><p>Draw a few cells, press run, and watch a tiny rule grow into moving machines.</p></span></a><a class="tile" href="/sorting/" data-cat="computing" data-t="how computers sort putting things in order is one of the most common jobs a computer does. some methods are far smarter than others. computing"><span class="th" style="background-image:url(/thumb/sorting.webp)" role="img" aria-label="How Computers Sort"></span><span class="tb"><p class="k">Computing</p><h3>How Computers Sort</h3><p>Race five classic ways to put a shuffled row of bars in order.</p></span></a><a class="tile" href="/pathfinding/" data-cat="computing" data-t="finding the shortest route how does a map app find your route? build a maze and watch two classic methods search it. computing"><span class="th" style="background-image:url(/thumb/pathfinding.webp)" role="img" aria-label="Finding the Shortest Route"></span><span class="tb"><p class="k">Computing</p><h3>Finding the Shortest Route</h3><p>Draw walls between two points and watch a computer hunt for the way through.</p></span></a></div></section>
8<footer><span>Watch Encyclopedia</span><span><a href="/about/">About</a> &middot; &middot; <a href="/privacy/">Privacy</a></span></footer>
9</div><script>(function(){var b=document.querySelector('.menu'),n=document.getElementById('nav');b.addEventListener('click',function(){var o=n.classList.toggle('open');b.setAttribute('aria-expanded',o)})})();</script><script src="/assets/we.js?v=12306844"></script><script src="/exp/binary.js?v=12306844"></script></body></html>