OLD | NEW |
1 dart_library.library('sunflower', null, /* Imports */[ | 1 dart_library.library('sunflower/sunflower', null, /* Imports */[ |
2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
3 'dom', | 3 'sunflower/dom', |
4 'dart/core', | 4 'dart/core', |
5 'dart/math', | 5 'dart/math', |
6 'painter', | 6 'sunflower/painter', |
7 'circle' | 7 'sunflower/circle' |
8 ], /* Lazy imports */[ | 8 ], /* Lazy imports */[ |
9 ], function(exports, dart, dom, core, math, painter, circle) { | 9 ], function(exports, dart, dom, core, math, painter, circle) { |
10 'use strict'; | 10 'use strict'; |
11 let dartx = dart.dartx; | 11 let dartx = dart.dartx; |
12 let SEED_RADIUS = 2; | 12 let SEED_RADIUS = 2; |
13 let SCALE_FACTOR = 4; | 13 let SCALE_FACTOR = 4; |
14 let MAX_D = 300; | 14 let MAX_D = 300; |
15 let centerX = dart.notNull(MAX_D) / 2; | 15 let centerX = dart.notNull(MAX_D) / 2; |
16 let centerY = centerX; | 16 let centerY = centerX; |
17 function querySelector(selector) { | 17 function querySelector(selector) { |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 exports.SEED_RADIUS = SEED_RADIUS; | 70 exports.SEED_RADIUS = SEED_RADIUS; |
71 exports.SCALE_FACTOR = SCALE_FACTOR; | 71 exports.SCALE_FACTOR = SCALE_FACTOR; |
72 exports.MAX_D = MAX_D; | 72 exports.MAX_D = MAX_D; |
73 exports.centerX = centerX; | 73 exports.centerX = centerX; |
74 exports.centerY = centerY; | 74 exports.centerY = centerY; |
75 exports.querySelector = querySelector; | 75 exports.querySelector = querySelector; |
76 exports.main = main; | 76 exports.main = main; |
77 exports.draw = draw; | 77 exports.draw = draw; |
78 exports.SunflowerSeed = SunflowerSeed; | 78 exports.SunflowerSeed = SunflowerSeed; |
79 }); | 79 }); |
OLD | NEW |