diff options
| author | jules <jules@okfoc.us> | 2013-12-16 11:59:20 -0500 |
|---|---|---|
| committer | jules <jules@okfoc.us> | 2013-12-16 11:59:20 -0500 |
| commit | 6d6b351accb057d6c99a7989279a6eeaf74b8c3d (patch) | |
| tree | 8079bc4596d1f033d38ce1b091cc456386024db3 /shader-gif.html | |
| parent | badb03a826a7055db8a42fa21ee22271a36d5f0a (diff) | |
frame add .. jqueryui sortable
Diffstat (limited to 'shader-gif.html')
| -rw-r--r-- | shader-gif.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/shader-gif.html b/shader-gif.html index d830af1..49e4ac0 100644 --- a/shader-gif.html +++ b/shader-gif.html @@ -6,6 +6,8 @@ #url { width: 100px; } #width,#height,#frames,#delay {width: 30px; } #shader { width: 400px; height: 247px; font-family: fixed; } +#frames { width: 400px; height: 100px; overflow-x: scroll; } +#controls { width: 450px; } div { float: left; padding: 10px;} </style> </head> @@ -24,11 +26,10 @@ delay <input type="text" id="delay" value="60"> <button id="dither-demo">dither</button> <br> <br> -<textarea id="shader"> -</textarea> -</div> -<div id="workspace"> +<textarea id="shader"></textarea> +<div id="frames"></div> </div> +<div id="workspace"></div> </body> <script type="text/javascript" src="js/vendor/gif-encode/util.js"></script> <script type="text/javascript" src="js/vendor/gif-encode/tube.js"></script> @@ -136,7 +137,8 @@ function shade(frame, t){ frames = [] function add_frame(){ - frames.push(cc.clone()) + var cel = cc.clone().appendTo("#frames") + frames.push(cel) } function remove_frame(){ } |
