"modular multiplication"
Bootstrap 3.0.0 Snippet by evarevirus

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html><html lang='en' class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script><script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script><meta charset='UTF-8'><meta name="robots" content="noindex"><link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" /><link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" /><link rel="canonical" href="https://codepen.io/ninivert/pen/WXjMjZ" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css'><link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-beta/css/bootstrap.min.css'> <style class="cp-pen-styles">html, body { margin: 0; padding: 0; width: 100%; height: 100%; } body { color: #34495e; } body h1 { margin: .5em 0; font-size: 58px; color: #2c3e50; } body h2 { margin: .5em 0; font-size: 50px; color: #2c3e50; } body h3 { margin: .5em 0; font-size: 42px; color: #2c3e50; } body h4 { margin: .5em 0; font-size: 34px; color: #2c3e50; } body h5 { margin: .5em 0; font-size: 26px; color: #2c3e50; } body h6 { margin: .5em 0; font-size: 18px; color: #2c3e50; } body .header { margin-top: .4em; padding: .4em 0; position: relative; } body .header::after { content: ''; position: absolute; bottom: 0; left: 0; display: block; width: 2em; height: 2px; background: #2980b9; } body .row > #side > .row { margin-bottom: .5em; } body #container > canvas { width: 100% !important; height: auto !important; } </style></head><body> <div class="container"> <h3 class="header">Modular Multiplication</h3> </div> <div class="container"> <div class="row"> <div class="col-sm-6" id="container"></div> <div class="col-sm-6" id="side"> <h3>Options</h3> <div class="row"> <label class="col-sm-4" for="modulo">Modulo</label> <input class="col-sm-8 form-control" type="number" id="modulo" step="1"/> </div> <div class="row"> <label class="col-sm-4" for="coef">Multiplier</label> <input class="col-sm-8 form-control" type="number" id="coef" step="0.1"/> </div> <div class="row"> <div class="col-sm-12"> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="autoAlpha"/><span class="custom-control-indicator"></span><span class="custom-control-description">Automatically adjust alpha</span> </label> </div> </div> <div class="row"> <label class="col-sm-4" for="">View</label> <div class="col-sm-8"> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="drawCircle"/><span class="custom-control-indicator"></span><span class="custom-control-description">Circle</span> </label> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="drawPoints"/><span class="custom-control-indicator"></span><span class="custom-control-description">Points</span> </label> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="drawLines"/><span class="custom-control-indicator"></span><span class="custom-control-description">Lines</span> </label> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="drawText"/><span class="custom-control-indicator"></span><span class="custom-control-description">Text</span> </label> <label class="custom-control custom-checkbox"> <input class="custom-control-input" type="checkbox" id="drawTitle"/><span class="custom-control-indicator"></span><span class="custom-control-description">Title</span> </label> </div> </div> <div class="row"> <label class="col-sm-4" for="res">Resolution</label> <input class="col-sm-8 form-control" type="number" id="res" step="20"/> </div> <div class="row"> <label class="col-sm-4" for="export">Save this!</label> <input class="btn btn-primary col-sm-4" type="button" id="export" value="Export"/> </div> <div class="row"> <div class="col-sm-12"> <div class="small">More options if you can find them in the code!

Related: See More


Questions / Comments: