forked from hssh/node-js-sample
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
868 lines (774 loc) · 34 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset ="utf-8">
<title>BRIGHT CANOPY - Build A New World</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="p:domain_verify" content="edf5e94f0df3ea188a53a20bcb09f920" />
<link rel="stylesheet" href="//d396qusza40orc.cloudfront.net/startup%2Fcode%2Fbootstrap-combined.no-icons.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.0.2/css/font-awesome.css">
<link rel="stylesheet" href="//d396qusza40orc.cloudfront.net/startup%2Fcode%2Fsocial-buttons.css">
<link rel="stylesheet" href="//cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="//cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" />
<![endif]-->
<link href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,300,400,600,700,800" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic" rel="stylesheet" type="text/css">
<link href="//cdn-images.mailchimp.com/embedcode/slim-081711.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<style type="text/css">
/* Large desktop */
@media (min-width: 980px) {
body {
padding-top: 60px;
}
.linediv-l {
border-right: 1px white solid;
}
.linediv-r {
border-left: 1px white solid;
}
}
/* Landscape phones and down */
@media (max-width: 480px) {
.copy {
padding: 2.5% 10%;
}
.linediv-l {
border-bottom: 1px white solid;
}
.linediv-r {
border-top: 1px white solid;
}
}
/* All form factors */
/* Main body and headings */
body {
font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.heading, .subheading {
font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
text-align: center;
}
p.lead {
padding-top: 1.5%;
font-size: 24px;
line-height: 30px;
}
p {
font-size: 18px;
line-height: 24px;
}
/* Video pitch and Action */
.pitch {
padding: 2.5% 0%;
}
.order {
padding: 2% 0%;
}
.actions {
background-color: #343434;
padding: 3% 0%;
}
.video, .thermometer, .order, .social, .statistics {
text-align: center;
}
.statistics h3, .statistics p {
color: white;
}
/* Marketing Copy and Footer */
.copy {
padding-top: 2.5%;
padding-bottom: 2.5%;
text-align: justify;
}
.asset {
padding: 2.5% 0%;
}
.footer {
color: #cccccc;
text-align: center;
}
.footer p {
font-size: 11px;
}
.footer a {
color: #ccccff;
}
/* http://support.addthis.com/customer/portal/questions/1136093-share-buttons-in-center-position */
div.addthis_toolbox {
width:112px;
margin: 0 auto;
}
ul {
list-style: none;
}
.quip {
color: gray;
}
#where {
height: 280px;
}
.brand img {
height: 25px;
width: 40px;
}
.section5 {
text-align: center;
}
/* via http://embedresponsively.com/ */
.embed-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
max-width: 100%;
height: auto;
}
.embed-container iframe, .embed-container object, .embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.support_levels {
}
.support_levels dt {
font-size: +5;
padding-top: 15px;
}
.support_levels dd {
padding-left: 10px;
}
#description {
width: 75%;
}
</style>
<Script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-42879556-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<!-- Mobile-friendly navbar adapted from example. -->
<!-- http://twitter.github.io/bootstrap/examples/starter-template.html -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar"
data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#"><img src="//s3-us-west-2.amazonaws.com/static.brightcanopy.com/images/noun_project_16390-whitestar.svg"/>Bright Canopy</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#top">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="//blog.brightcanopy.com" target="_blank">Blog</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<!-- We use row-fluid inside containers to achieve a resizable layout. -->
<!-- blogs.endjin.com/2013/04/tips-for-implementing-responsive-designs-using-bootstrap/ -->
<!-- http://stackoverflow.com/a/12270322 -->
<div class="container">
<!-- Font and paired font of .heading/.subheading and body from Google Fonts -->
<!-- www.google.com/fonts/specimen/Ubuntu -->
<!-- www.google.com/fonts/specimen/Ubuntu#pairings -->
<div class="row-fluid heading">
<div class="span12">
<h1>BRIGHT CANOPY</h1>
</div>
</div>
<div class="row-fluid subheading">
<div class="span12">
<!-- Special typography from Bootstrap for lead paragraph. -->
<!-- http://twitter.github.io/bootstrap/base-css.html#typography -->
<p class="lead">Build a new world.</p>
</div>
</div>
<div class="row-fluid pitch">
<div class="span5 offset1 video">
<div class='embed-container'>
<iframe src='//www.youtube.com/embed/uLZ-DjyjRL8?controls=0&showinfo=0&border=0&rel=0&theme=light' frameborder='0' allowfullscreen></iframe>
</div>
</div>
<!-- We define a new 'actions' div to contain statistics, order, and share buttons.-->
<div class="span5 actions">
<div class="span8 offset2">
<div class="statistics">
<div class="span4">
<!-- linediv-l and linediv-r give dividing lines that look
different in horizontal and vertical layouts, illustrating
media queries. -->
<div class="linediv-l">
<h3><span id="backer_count">0</span></h3> <p>backers</p>
</div>
</div>
<div class="span4">
<div class="linediv-c">
<h3><span id="btc_raised">0</span> BTC</h3> <p>of 200 BTC</p>
</div>
</div>
<div class="span4">
<div class="linediv-r">
<h3 class="countdown"> </h3> <p>days left</p>
</div>
</div>
</div>
</div>
<div class="span10 offset1">
<!-- Bootstrap progress bar -->
<!-- http://twitter.github.io/bootstrap/components.html#progress -->
<div class="thermometer progress active">
<div class="bar bar-success" style="width: 0%;"></div>
<div class="bar bar-warning" style="width: 100%;"></div>
</div>
</div>
<div class="span6 offset3 order">
<a href="#stake_claim"> <button id="jump_to_stake" class="btn btn-primary">Stake My Claim</button> </a>
</div>
<div class="span10 offset1 social">
<!-- Social buttons are not included in default Bootstrap. -->
<!-- See: http://noizwaves.github.io/bootstrap-social-buttons -->
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style addthis_32x32_style">
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_facebook"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_addressbar":true};</script>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5208190b367a7f73"></script>
<!-- AddThis Button END -->
</div>
</div>
</div>
<!-- Beyond this part the marketing copy begins. -->
<!-- http://developer.mozilla.org/en-US/docs/Web/CSS/text-align -->
<!-- http://twitter.github.io/bootstrap/base-css.html#images -->
<!-- http://placehold.it -->
<div class="row-fluid section1">
<div class="span5 offset1 asset">
<img src="//s3-us-west-2.amazonaws.com/static.brightcanopy.com/images/Bright_Canopy_Magic_Eightball_Mockup.png">
</div>
<div class="span5 copy">
<p><a name="about"><strong>Pioneers Wanted</strong></a></p>
<p>If you could build anything, what would it be?</p>
<p>We need pioneers, artists, entrepreneurs and mad geniuses.</p>
<p>
The BRIGHT CANOPY project is building a new world right
next to the one you know, and you can help make it the
world of your dreams.
</p>
</div>
</div>
<div class="row-fluid section2">
<div class="span5 offset1 copy copy-right">
<p>Own, buy and sell canopy.<ul><li class="quip">Buy Idaho and found a kingdom!</li></ul></p>
<p>Create and sell virtual objects.<ul><li class="quip">Make things, open a store or a whole chain of stores. Sell franchises.</li></ul> </p>
<p>Script machines to interact with others.<ul><li class="quip">Build a phantom amusement park in Antarctica.</li></ul></p>
<p>Create creatures and pets. <ul><li class="quip">You know you always wanted a flying, phantom horse-duck.</li></ul></p>
<p>Do things no one ever dreamed of.<ul><li class="quip">Because that's what it's REALLY all about</ul></li></p>
</ul>
</div>
<div class="span5 asset">
<div id="where"></div>
<caption>Click this map to find coordinates.</caption>
</div>
</div>
<div class="row-fluid section3">
<div class="span5 offset1 copy copy-right">
<a name="contact"></a>
<h2>Contact Us</h2>
<dl>
<dt class="icon-envelope"> email</dt> <dd><a href="mailto:[email protected]">[email protected]</a></dd>
<dt class="icon-twitter"> twitter</dt> <dd><a href="//twitter.com/BrightCanopyApp">@BrightCanopyApp</a></dd>
<dt class="icon-facebook"> facebook</dt> <dd><a href="//www.facebook.com/BrightCanopy">BrightCanopy</a></dd>
<dt class="icon-map-marker"> post</dt> <dd>578 Sutton Way, PMB 134, Grass Valley, CA 95945</dd>
</dl>
</div>
<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="http://brightcanopy.us7.list-manage1.com/subscribe/post?u=3451b19a21ec30a34181a442f&id=b5c2a71c78" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<label for="mce-EMAIL">Subscribe to our mailing list</label>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</form>
</div>
<!--End mc_embed_signup-->
<div class="span5 copy copy-right">
<h2>Contribution Levels</h2>
<dl class="support_levels">
<dt>0.09 BTC - Cubiculite</dt>
<dd>You can show your support and get first pick on a 3x3 patch of the canopy. That's enough to own the airspace above your cubicle! Along with a thank you email, you will also be listed on the Big Map and in the AR viewer for free through beta. When we launch you will still need to pay the membership fee to keep owning canopy. (about 0.09 BTC / month).</dd>
<dt>0.25 BTC - Trailblazer</dt>
<dd>You will receive all of the above with a 5x5 patch of the canopy and a BRIGHT CANOPY sticker suitable for windows, notebooks, bumpers and the foreheads of loved ones.</dd>
<dt>1 BTC - Pioneer</dt>
<dd>For making a commitment to building a new world, you will receive all of the above with a 100m<sup>2</sup> patch of canopy plus a snazy t-shirt. You will also receive a free month of membership once we launch. Your account will also be marked with a Pioneer badge visible to other members as a way or recognizing your early support.</dd>
<dt>10.24 BTC - Canopy Baron</dt>
<dd>You will receive everything above with a Canopy Baron badge instead of a Pioneer badge and a 1024m<sup>2</sup> area of canopy of your choice anywhere in the world. You and your fellow Canopy Barons will have exclusive early access to sell canopy in the canopy market. You will have six months of free membership and VIP support.</dd>
</dl>
</div>
</div>
<div class="row-fluid section4">
<div class="span10 offset1">
<a name="stake_claim"></a>
<form class="form-horizontal" id="claim_form" action="/claim" method="post">
<fieldset>
<!-- Form Name -->
<h2>I Want To Stake My Claim</h2>
<!-- Text input-->
<div class="control-group">
<label class="control-label" for="email">Email</label>
<div class="controls">
<input id="email" name="email" type="text" placeholder="[email protected]" class="input-xlarge" required="">
<p class="help-block">We will use your email to contact you about your canopy claim and to verify your ownership. We promise not to share or sell your information.</p>
</div>
</div>
<!-- Text input-->
<div class="control-group">
<label class="control-label" for="latitude">Latitude</label>
<div class="controls">
<input id="latitude" name="latitude" type="text" placeholder="39.232735 " class="input-xlarge" required="">
<p class="help-block">Enter the latitude of the center of your claim in decimal form. You can click the map above to find a location.</p>
</div>
</div>
<!-- Text input-->
<div class="control-group">
<label class="control-label" for="longitude">Longitude</label>
<div class="controls">
<input id="longitude" name="longitude" type="text" placeholder="-121.037922" class="input-xlarge" required="">
<p class="help-block">Enter the longitude of your claim in decimal form.</p>
</div>
</div>
<!-- Select Basic -->
<div class="control-group">
<label class="control-label" for="size">Square Meters</label>
<div class="controls">
<select id="size" name="size" class="input-xlarge">
<option value="9">9 sq meters - Cubiculite</option>
<option value="25">25 sq meters - Trailblazer</option>
<option value="100">100 sq meters - Pioneer</option>
<option value="1024">1024 sq meters - Canopy Baron</option>
</select>
<p class="help-block">Early backer price is 0.01 bitcoins per square meter.</p>
</div>
</div>
<!-- Text input-->
<div class="control-group">
<label class="control-label" for="name">Name</label>
<div class="controls">
<input id="name" name="name" type="text" placeholder="Public name for your claim" class="input-xlarge" required="">
</div>
</div>
<!-- Textarea -->
<div class="control-group">
<label class="control-label" for="description">Description</label>
<div class="controls">
<textarea id="description" name="description" placeholder="Public description for your claim."></textarea>
</div>
</div>
<!-- Button -->
<div class="control-group">
<label class="control-label" for="claim_button"></label>
<div class="controls">
<button id="claim_button" name="claim_button" class="btn btn-primary">Stake My Claim</button>
</div>
</div>
</fieldset>
</form>
<p><strong>For even larger claims, please <a href="mailto:[email protected]">contact us</a> directly.</strong></p>
<p>All claims are subject to availability and are first-come, first serve. We reserve the right to edit names or descriptions for spelling, grammar and content. Please, no offensive names or descriptions.</p>
</div>
</div>
<!-- For the FAQ, we introduce a little bit of JS, using the accordion. -->
<!-- This brings in jquery.js and bootstrap.js as dependencies. -->
<!-- http://twitter.github.io/bootstrap/javascript.html#collapse -->
<div class="row-fluid faq">
<div class="span10 offset1">
<h3><a name="faq">FAQ</a></h3>
<div class="accordion" id="accordion2">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseTwo">
What will this money be used for?
</a>
</div>
<div id="collapseTwo" class="accordion-body collapse">
<div class="accordion-inner">
<p>The money from this starter will be used to pay
for the servers, licenses and development time it
will take to build out the rest of the
features. </p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseThree">
What do I get when I buy a piece of canopy?
</a>
</div>
<div id="collapseThree" class="accordion-body collapse">
<div class="accordion-inner">
<p>
This is a starter to get things rolling. It's a
chance for pioneering folks and would-be canopy
barrons to grab canopy early before anyone else
hears about us. Your early support earns you an
advantage in price and choice. We will be strictly
first-come, first-serve.
</p>
<p>
Each canopy purchase will be recorded and appear
on <a href="#map">The Big Map</a> as well as the
BRIGHT CANOPY channel in
the <a href="//www.junaio.com/"
target="_new">Junaio Augmented Reality</a>
browser (live in a few days). You will be able to walk around and see
your marker and those of others nearby floating
in space. You will be able to name your canopy and
set the description as well as an optional web
link.
</p>
<p>
Once we rollout user created content, canopy
owners will be able to set permissions on who
can create content (3D objects, flying monkeys,
rotating billboards with spotlights and blink
tags etc..) on your canopy.
</p>
<p>
Once we rollout the
canopy market, canopy owners will be able to buy and
sell canopy.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseFour">
Who owns the content I create in the canopy?
</a>
</div>
<div id="collapseFour" class="accordion-body collapse">
<div class="accordion-inner">
<p>
Creators retain all rights to the objects they
create. We will only ask for the minimum rights
necessary to do what you want us to do with your
objects. You will have the ability to sell copies
of your items and control (as much as
is <a href="//www.eff.org/issues/drm">technically
feasible</a>) the ability of others to make copies
within the canopy.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseRisks">
What are the risks and challenges?
</a>
</div>
<div id="collapseRisks" class="accordion-body collapse">
<div class="accordion-inner">
<p>
Augmented Reality is a fast developing field
again. The hardware and infrastructure is just
starting to catch up with our childhood
expectations, but it is catching up and most of
the things we want to do have already been
built, debugged and packaged into a nice, neat
SDK or cloud API.
</p>
<p>
What we Know: We know we can do Augmented
Reality with 3D, scriptable objects. We know we
can do user created content. We know we can
build canopy auctions, vending machines and
virtual stores based on bitcoin. It's just work
and time and money.
</p>
<p>
What We Don't Know: We don't know if you will be
excited enough about this idea to get out there
and invite your friends to help build a new
world. If you do that, we can do anything.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseOne">
Who are you people?
</a>
</div>
<div id="collapseOne" class="accordion-body collapse">
<div class="accordion-inner">
<p>The BRIGHT CANOPY project is
a <a href="//theleanstartup.com/"
target="_new">lean startup</a> in Grass Valley,
California launched as part of the Stanford,
Startup Engineering project.
</p>
<p>
Startup Engineering is a class taught
by <a href="//www.coursera.org/instructor/balajis"
target="_new">Balaji S. Srinivasan</a>
and <a href="//www.coursera.org/instructor/vijaypande"
target="_new">Vijay S. Pande</a>. This project
is a direct result of their inspiration and
encouragement. Mr. Srinivasan and Mr. Pande are
not otherwise involved with BRIGHT CANOPY. (If
we screw-up it's not their fault, they've given
great direction).
</p>
<p>Our founder is Bill Glover who has been <a href="//www.linkedin.com/in/billglover"
target="_new">around
the block a time or two</a> and is a Virtual World
native.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseFive">
Why Bitcoin?
</a>
</div>
<div id="collapseFive" class="accordion-body collapse">
<div class="accordion-inner">
<p>
Bitcoin is an international currency with
properties that make it work well for a startup
and especially well for a virtual world virtual
world. For a great overview
see <a href="//www.coindesk.com/information/"
target="_new">A Beginner's Guide to Bitcoin</a>.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseJunaio">
So it's a Junaio channel?
</a>
</div>
<div id="collapseJunaio" class="accordion-body collapse">
<div class="accordion-inner">
<p>
Junaio has some nice features, but it's just a
good place to start for now. It doesn't have all
of the features we will eventually need, so we
expect to move on to a custom application before
long. The idea is to learn as quickly as
possibly, what you, the creator, resident or
explorer really want and build just that without
alot of cruft and waste.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseSL">
So it's Second Life?
</a>
</div>
<div id="collapseSL" class="accordion-body collapse">
<div class="accordion-inner">
<p>
Second Life is an amazing thing and Linden Labs
and Phillip Rosedale really blazed a trail for
the rest of us, but it's a virtual world off in
its own virtual space somewhere.
</p>
<p>
BRIGHT CANOPY is an augmented reality layer over
the world you already know. You can build a copy
of the Parthenon in SL with a guided tour and
even build a souvenier stand to sell scale
models (even full size), but in the canopy, you
can do all of that at the actual Parthenon.
Even better you can do all of that in your own
travel agency office in Topeka, KS.
</p>
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse"
data-parent="#accordion2" href="#collapseCaps">
Why ALL THE CAPS?
</a>
</div>
<div id="collapseCaps" class="accordion-body collapse">
<div class="accordion-inner">
<p>
BRIGHT CANOPY is not related
to <a href="//thelaundryfiles.wikia.com/wiki/Case_Nightmare_Green"
target="_new">CASE NIGHTMARE GREEN</a>. Any
eldritch horrors you may encounter in the canopy
are entirely your own fault.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Not crucial, but we put this under a CC By-SA 3.0 license in case some of this code is useful to someone. -->
<!-- http://creativecommons.org/licenses/ -->
<div class="row-fluid footer">
<div class="span12">
<p>This work is licensed under
the <a href="//creativecommons.org/licenses/by-sa/3.0/">CC
By-SA 3.05~
</a>, originally based on a template by Balaji S. Srinivasan and Vijay S. Pande, Stanford University.</p>
</div>
</div>
</div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="//d396qusza40orc.cloudfront.net/startup%2Fcode%2Fbootstrap.js"></script>
<script src="//cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script>
<script src="//s3-us-west-2.amazonaws.com/static.brightcanopy.com/js/jquery.form.min.js"></script>
<!-- Coinbase Button Code -->
<!-- Cubiculite -->
<div id="tier_9" class="coinbase-button" data-code="a5a2b384ce99518b7e5c2da07527065c" data-button-style="none"></div>
<!-- Trailblazer -->
<div id="tier_25" class="coinbase-button" data-code="d302094e80ba316823aefeee82409c4b" data-button-style="none"></div>
<!-- Pioneer -->
<div id="tier_100" class="coinbase-button" data-code="eabf135a107c166ebc52ae42b87ca034" data-button-style="none"></div>
<!-- Canopy Baron -->
<div id="tier_1024" class="coinbase-button" data-code="5f64ce5258bc3b16a9c650d2693e73b4" data-button-style="none"></div>
<script src="//coinbase.com/assets/button.js" type="text/javascript"></script>
<!-- Form Handlers -->
<script>
function setupMap() {
var map = L.map('where').setView([39.232735, -121.037922], 13);
L.tileLayer('//{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png', {
maxZoom: 18,
attribution: 'Map data © <a href="//openstreetmap.org">OpenStreetMap</a> contributors, <a href="//creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="//cloudmade.com">CloudMade</a>'
}).addTo(map);
function onMapClick(e) {
var marker = L.marker(e.latlng)
marker.addTo(map).bindPopup('This location is ' + e.latlng).openPopup().on('click', function (e) {map.removeLayer(marker); });
}
map.on('click', onMapClick);
return map;
}
function markClaim(map, claim) {
L.marker([claim.latitude, claim.longitude]).addTo(map)
.bindPopup('<b>'+claim.name+'</b> ('+claim.size+' m<sup>2</sup>)<br />'+claim.description+'<br />')
.openPopup();
return [claim.latitude, claim.longitude];
console.log(claim.name + " (" + claim.latitude + ", "+ claim.longitude + ")");
}
function markClaims(map) {
$.getJSON('/claims', function (data) {
var coordinates = [39.232735, -121.037922];
$.each(data, function() {
coordinates = markClaim(map, this);
});
map.setView(coordinates, 13);
});
}
/*From //stackoverflow.com/questions/1726630/javascript-formatting-number-with-exactly-two-decimals */
function precise_round(num,decimals){
return Math.round(num*Math.pow(10,decimals))/Math.pow(10,decimals);
}
function updateScore() {
var score = {};
$.getJSON('/score', function (data) {
score = data[0];
$('#backer_count').html(score.backer_count);
$('#btc_raised').html(precise_round(score.btc_raised, 3));
$('.bar-success').css('width', "" + score.btc_raised / 200 * 100 + "%");
});
return score;
}
function confirmClaim(claim) {
$('.section4').children()[0].innerHTML = "<h2>You Have Staked Your Claim</h2>" +
"<p>Pending payment confirmation, you have staked a claim to the this piece of the canopy.</p>" +
"<ul>" +
"<li> " + "<strong>name</strong>: " + claim.name + " </li>" +
"<li> " + "<strong>size</strong>: " + claim.size + " m<sup>2</sup>" + " </li>" +
"<li> " + "<strong>coordinates</strong>: " + claim.latitude + ", " + claim.longitude + " </li>" +
"<li> " + "<strong>description</strong>: " + claim.description + " </li>" +
"</ul>" +
"<p>You can also see your new marker on the map above.</p>";
}
/*Based on http://www.lsbu.ac.uk/javascript/cdownBR.html*/
function updateCountdown(deadline) {
var now = new Date();
var then = new Date(deadline);
var gap = then.getTime() - now.getTime();
gap = Math.floor(gap / (1000 * 60 * 60 * 24));
$('.countdown')[0].innerHTML = "" + gap;
}
$(document).ready(function() {
updateCountdown("September 9, 2013 PDT");
updateScore();
var map = setupMap();
markClaims(map);
$('#claim_form').ajaxForm({
dataType: 'json',
success: function(data) {
claim = data[0];
var claim_number = "claim_" + claim.id;
var button = $('#tier_'+claim.size);
button.attr('data-custom', claim_number);
var code = button.attr('data-code');
$(document).on('coinbase_payment_complete', function(event, code){
markClaim(map, claim);
confirmClaim(claim);
$.getJSON('/refresh_orders', updateScore());
});
$(document).trigger('coinbase_show_modal', code);
}
});
});
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-42879556-1', 'brightcanopy.com');
ga('send', 'pageview');
</script>
</body>
</html>