xonecas.io
186
Ft

fractal-tree / files

fractal-tree / index.html

2.0 KB
1<!doctype html>
2<html lang="en">
3<head charset="utf-8">
4
5   <title></title>
6   <meta name="author" content="">
7   <meta name="description" content="">
8
9   <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
11   <link rel="stylesheet" href="bootstrap-responsive.min.css">
12   <link rel="stylesheet" href="bootstrap.min.css">
13   <link rel="stylesheet" href="smoke/smoke.css">
14   <link rel="stylesheet" href="style.css">
15</head>
16<body>
17   <div id="main" class="container">
18      <div class="row">
19         <div class="span16 columns">
20            <h1>
21               Canvas particle tree
22               <small>See the <a href="http://t.co/NcEGMRd">original</a> here</small>
23            </h1>
24         </div>
25      </div>
26
27      <div class="row">
28         <form class="span6 columns form-stacked">
29            <fieldset>
30               <label for="depth">Depth</label>
31               <p class="input">
32                  <input id="depth" name="depth" type="text" size="2"><br>
33                  <em>Enter a number between 1 and 14</em>
34               </p>
35
36               <label for="color">Color</label>
37               <p class="input">
38                  <input id="color" name="color" type="text" size="3"><br>
39                  <em>Enter a number between 100 and 360</em>
40               </p> 
41
42               <a id="redraw" href="#" class="btn small primary">Redraw</a>
43               <a id="reset" href="#" class="btn small">Reset</a>
44            </fieldset>
45         </form>
46      </div>
47
48      <div class="row">
49         <p class="span5 columns">
50            Credits go to <a href="//twitter.com/codepo8">Christian Heilmann</a>
51            for making the original. I'm <a href="//xonecas.com">Sean</a>, and 
52            I made this to learn how he did the tree, and to play around
53            with <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a>
54            and <a href="http://ssssnakes.com/smoke/">smoke.js</a>.
55         </p>
56      </div>
57   </div>
58
59   <script src="smoke/smoke.js"></script>
60   <script src="script.js"></script>
61</body
62</html>