OLD | NEW |
---|---|
1 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 <!-- Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 for details. All rights reserved. Use of this source code is governed by a | 2 for details. All rights reserved. Use of this source code is governed by a |
3 BSD-style license that can be found in the LICENSE file. --> | 3 BSD-style license that can be found in the LICENSE file. --> |
4 | 4 |
5 <html> | 5 <html> |
6 <head> | 6 <head> |
7 <title>sunflower</title> | 7 <title>sunflower</title> |
8 <link type="text/css" rel="stylesheet" href="sunflower.css"> | 8 <link type="text/css" rel="stylesheet" href="sunflower.css"> |
9 </head> | 9 </head> |
10 <body> | 10 <body> |
11 <h1>drfibonacci's* Sunflower Spectacular</h1> | 11 <h1>drfibonacci's* Sunflower Spectacular</h1> |
12 <h2>* Count the clockwise and counter-clockwise spiral arms at the edges</h2 > | 12 <h2>* Count the clockwise and counter-clockwise spiral arms at the edges</h2 > |
13 <div class="image"></div> | 13 <div class="image"></div> |
14 <div> | 14 <div> |
15 <canvas id="canvas" width="300" height="300"></canvas> | 15 <canvas id="canvas" width="300" height="300"></canvas> |
16 </div> | 16 </div> |
17 <div> | 17 <div> |
18 <label># seeds (n):</label> | 18 <label># seeds (n):</label> |
19 </div> | 19 </div> |
20 <div class="rangeOption"> | 20 <div class="rangeOption"> |
21 <input id="slider" type="range" max="1000" value="500" /> | 21 <input id="slider" type="range" max="1000" value="500" /> |
22 <label class="minLabel">0</label> | 22 <label class="minLabel">0</label> |
23 <label class="maxLabel">1000</label> | 23 <label class="maxLabel">1000</label> |
24 </div> | 24 </div> |
25 <script type="application/dart" src="Sunflower.dart"></script> | 25 <script type="application/dart" src="Sunflower.dart"></script> |
26 <script>{}</script> | 26 <script src="../../dart.js"></script> |
dgrove
2012/01/20 20:57:03
ditto
| |
27 </body> | 27 </body> |
28 </html> | 28 </html> |
OLD | NEW |