Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js"></script>
<script src="https://code.jquery.com/jquery-2.1.4.js"></script>
  <script src="https://rawgit.com/eligrey/FileSaver.js/master/FileSaver.js"></script>
  <script src="https://rawgit.com/eligrey/canvas-toBlob.js/master/canvas-toBlob.js"></script>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <h1>Timing Chart Formatter</h1>
  <h2>Source</h2>
  <textarea id="source" cols="60" rows="10">clock   _~_~_~_~_~_~_~_~_~_~_
data    =?====X=DATA========X=?====
valid   _____~~~~~~~~~~______
ready   _____________[~~]______</textarea>
  <h2>Result</h2>
  <input type="button" value="Download as SVG" id="as_svg" />
  <input type="button" value="Download as PNG" id="as_png" /> Background: <input id="background" value="white" style="width:60px" />
  <br />
  <br />
  <div id="result"></div>
  <canvas></canvas>
</g>
</svg>
</div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers