|
@@ -42,14 +42,20 @@ body {
|
42
|
42
|
.md-footer a {
|
43
|
43
|
color: var(--md-footer-fg-color--light);
|
44
|
44
|
}
|
|
45
|
+.md-typeset h1 {
|
|
46
|
+ /*font-weight: 400;*/
|
|
47
|
+}
|
|
48
|
+.md-copyright {
|
|
49
|
+ color: var(--md-footer-fg-color--light);
|
|
50
|
+}
|
45
|
51
|
|
46
|
52
|
|
47
|
53
|
|
48
|
54
|
|
49
|
55
|
#title {
|
50
|
56
|
text-align: center;
|
51
|
|
- padding: 1.5rem var(--hpad);
|
52
|
|
- background-image: linear-gradient(180deg,rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 1) 100%), url('img/enchanted-sky.webp');
|
|
57
|
+ padding: 1.0rem var(--hpad) 0.5rem var(--hpad);
|
|
58
|
+ background-image: linear-gradient(180deg,rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 1) 100%), url('img/enchanted-sky.webp');
|
53
|
59
|
background-size: cover;
|
54
|
60
|
background-position: center;
|
55
|
61
|
}
|
|
@@ -57,12 +63,21 @@ body {
|
57
|
63
|
margin: 0;
|
58
|
64
|
font-size: 3.0rem;
|
59
|
65
|
font-weight: bold;
|
60
|
|
- color: #ffd;
|
|
66
|
+ color: #ffc;
|
61
|
67
|
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
|
62
|
68
|
}
|
63
|
69
|
#title h2 {
|
64
|
|
- margin: 0.5rem 0;
|
|
70
|
+ margin: 0.5rem 0 0 0;
|
65
|
71
|
font-size: 1.35rem;
|
|
72
|
+ font-weight: bold;
|
|
73
|
+ color: #ffc;
|
|
74
|
+ text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
|
|
75
|
+}
|
|
76
|
+#title video {
|
|
77
|
+ width: 100%;
|
|
78
|
+ max-width: var(--max-width);
|
|
79
|
+ border-radius: var(--border-radius);
|
|
80
|
+ margin: 1rem auto;
|
66
|
81
|
}
|
67
|
82
|
|
68
|
83
|
|
|
@@ -77,14 +92,13 @@ body {
|
77
|
92
|
text-align: center;
|
78
|
93
|
font-size: 1.2rem;
|
79
|
94
|
line-height: 2.5;
|
80
|
|
- margin-left: auto;
|
81
|
|
- margin-right: auto;
|
82
|
|
- margin-top: 1rem;
|
|
95
|
+ margin: 0 auto 1rem auto;
|
83
|
96
|
padding: 3px;
|
84
|
97
|
max-width: var(--max-width);
|
85
|
98
|
background-color: rgba(255, 255, 255, 0.2);
|
86
|
99
|
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2);
|
87
|
100
|
border-radius: var(--border-radius);
|
|
101
|
+ /*border: 2px outset rgba(126, 86, 194, 0.2);*/
|
88
|
102
|
}
|
89
|
103
|
#pay > #amounts {
|
90
|
104
|
display: flex;
|
|
@@ -342,7 +356,7 @@ html:has(#download-dialog[open]) {
|
342
|
356
|
@media screen and (min-width: 768px) {
|
343
|
357
|
/*#pay { justify-content: space-around; }*/
|
344
|
358
|
#title h1 { font-size: 4.0rem; }
|
345
|
|
- #title h2 { font-size: 1.55rem; }
|
|
359
|
+ #title h2 { font-size: 1.6rem; }
|
346
|
360
|
#topics { text-align: justify; }
|
347
|
361
|
#topics > article img { margin-top: initial; }
|
348
|
362
|
#topics > article { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
|
|
@@ -419,7 +433,11 @@ function setupReveal()
|
419
|
433
|
|
420
|
434
|
<header id="title">
|
421
|
435
|
<h1>encantar.js</h1>
|
422
|
|
- <h2>High performance open source Web AR — no app required!</h2>
|
|
436
|
+ <h2>High performance Web AR framework — no app required!</h2>
|
|
437
|
+ <video autoplay loop muted playsinline controls poster="img/aframe-cat.webp">
|
|
438
|
+ <source src="img/aframe-cat.mp4" type="video/mp4" />
|
|
439
|
+ <source src="img/aframe-cat.webm" type="video/webm" />
|
|
440
|
+ </video>
|
423
|
441
|
<form id="pay" method="post" action="https://api.encantar.dev/v1/pay" autocomplete="off" onsubmit="return this.tier.value != 'custom' || this['custom-amount'].value != ''">
|
424
|
442
|
<span>Pay What You Can:</span>
|
425
|
443
|
<span id="amounts">
|
|
@@ -453,13 +471,13 @@ function setupReveal()
|
453
|
471
|
<a href="demos/hello-aframe/poster.html" target="_blank" class="md-button" id="try-demo" data-goatcounter-click>Try a demo</a>
|
454
|
472
|
</div>
|
455
|
473
|
<div>
|
456
|
|
- <img src="img/demo-cat.gif" alt="A cat in Augmented Reality" loading="lazy">
|
|
474
|
+ <img src="img/mage.gif" alt="A mage in Augmented Reality" loading="lazy">
|
457
|
475
|
</div>
|
458
|
476
|
</article>
|
459
|
477
|
<article class="reveal">
|
460
|
478
|
<div>
|
461
|
479
|
<h1>Turbocharged performance</h1>
|
462
|
|
- <p>A modern web browser is all that is required for a high performance experience, thanks to a powerful combination of GPU acceleration, WebAssembly and mathemagical wizardry! The result? A smooth user experience!</p>
|
|
480
|
+ <p>A modern web browser is all that is required for a high performance experience, thanks to a powerful combination of GPU acceleration, WebAssembly and mathemagical wizardry. The result? A smooth user experience!</p>
|
463
|
481
|
<a href="demos/basketball/poster.html" target="_blank" class="md-button" id="play-game" data-goatcounter-click>Play a game</a>
|
464
|
482
|
</div>
|
465
|
483
|
<div>
|
|
@@ -473,7 +491,7 @@ function setupReveal()
|
473
|
491
|
<a href="demos/" target="_blank" class="md-button" id="try-more-demos" data-goatcounter-click>Try more demos</a>
|
474
|
492
|
</div>
|
475
|
493
|
<div>
|
476
|
|
- <img src="img/mage.gif" alt="A mage in Augmented Reality" loading="lazy">
|
|
494
|
+ <img src="img/demo-cat.gif" alt="A cat in Augmented Reality" loading="lazy">
|
477
|
495
|
</div>
|
478
|
496
|
</article>
|
479
|
497
|
<article class="reveal">
|
|
@@ -527,9 +545,9 @@ function setupReveal()
|
527
|
545
|
<section id="download">
|
528
|
546
|
<article>
|
529
|
547
|
<h1>Download encantar.js</h1>
|
530
|
|
- <p>encantar.js is created independently by Alexandre Martins and released as open source. Creating an AR engine from scratch is a difficult and time-consuming endeavor. The funds collected help to sponsor the developer. Your support is greatly appreciated! 😊</p>
|
|
548
|
+ <p>encantar.js is a WebAR framework created independently by <a href="contact/" target="_blank" id="author-name" data-goatcounter-click>Alexandre Martins</a> and released as open source software. Get your copy and go build something magical with it! 🪄</p>
|
531
|
549
|
<footer>
|
532
|
|
- <a href="#" class="md-button md-button--primary" id="download-pay" data-goatcounter-click>Pay What You Can</a>
|
|
550
|
+ <a href="#pay" class="md-button md-button--primary" id="download-pay" data-goatcounter-click>Pay What You Can</a>
|
533
|
551
|
<a href="https://github.com/sponsors/alemart" target="_blank" class="md-button" id="download-sponsor" data-goatcounter-click>Sponsor on GitHub</a>
|
534
|
552
|
</footer>
|
535
|
553
|
</article>
|
|
@@ -553,7 +571,7 @@ function setupReveal()
|
553
|
571
|
|
554
|
572
|
<footer class="md-footer">
|
555
|
573
|
<div class="md-copyright">
|
556
|
|
- <a href="https://github.com/alemart/encantar-js" target="_blank" rel="external" id="github-repository" data-goatcounter-click>encantar.js</a>: GPU-accelerated Augmented Reality framework for the web. Copyright © 2022 – present <a href="https://github.com/alemart" target="_blank" rel="external" id="github-profile" data-goatcounter-click>Alexandre Martins</a>
|
|
574
|
+ encantar.js: GPU-accelerated Augmented Reality framework for the web. Copyright © 2022 – present Alexandre Martins
|
557
|
575
|
</div>
|
558
|
576
|
</footer>
|
559
|
577
|
|