Skip to content

Instantly share code, notes, and snippets.

@jcgregorio
Created August 15, 2017 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcgregorio/38ca7d599395902f2ad2765fc7853b5d to your computer and use it in GitHub Desktop.
Save jcgregorio/38ca7d599395902f2ad2765fc7853b5d to your computer and use it in GitHub Desktop.
HTML for Organizing around State
<label for=length>Length:</label>
<input type=range name=length id=length min=1 max=10 />
<span style="padding: 0 10px;" id=lengthDisplay></span>
<br>
<label for=angle>Angle:</label>
<input type=range name=angle id=angle min=0.01 max=1 step=0.01 />
<span style="padding: 0 10px;" id=angleDisplay></span>
<br>
<canvas width=600 height=600></canvas>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment