Kaynağa Gözat

Fixed highlighted lines. Made a few other changes.

customisations
alemart 1 yıl önce
ebeveyn
işleme
e9165b86ce

+ 1
- 1
docs/api/speedy-promise.md Dosyayı Görüntüle

@@ -1,6 +1,6 @@
1 1
 # SpeedyPromise
2 2
 
3
-[Speedy](speedy.md) includes its own implementation of promises. A `SpeedyPromise` works just like a standard promise. SpeedyPromises are designed for realtime applications. There are some subtle differences behind the scenes, but you need not be concerned with those.
3
+[Speedy](speedy.md) includes its own implementation of promises. A `SpeedyPromise` works just like a standard promise. SpeedyPromises are designed for real-time applications. There are some subtle differences behind the scenes, but you need not be concerned with those.
4 4
 
5 5
 ## Instantiation
6 6
 

+ 3
- 3
docs/getting-started/activate-your-webcam.md Dosyayı Görüntüle

@@ -45,7 +45,7 @@ async function startARSession()
45 45
 
46 46
 Let's also comment (or remove) the `<video>` tag from the HTML file - we no longer need it:
47 47
 
48
-```html title="index.html" hl_lines="14-16"
48
+```html title="index.html" hl_lines="14-19"
49 49
 <!doctype html>
50 50
 <html>
51 51
     <head>
@@ -92,7 +92,7 @@ Open <http://localhost:8000>{ ._blank } and... ta-da! The web browser will ask f
92 92
 
93 93
     If you're using a screen to display the reference image, make sure to adjust the brightness. Too much brightness causes overexposure and loss of detail, leading to tracking difficulties. Not enough brightness is also undesirable, because it makes the reference image look too dark in the video. Screen reflections are also undesirable.
94 94
 
95
-!!! warning "Use HTTPS"
95
+!!! tip "Use HTTPS"
96 96
 
97 97
     When distributing your WebAR experiences over the internet, make sure to use HTTPS. Web browsers will only allow access to the webcam in secure contexts.
98 98
 
@@ -117,7 +117,7 @@ Save the image below as [scan.png](../assets/scan.png){ ._blank }:
117 117
 <figcaption>Scan gimmick</figcaption>
118 118
 </figure>
119 119
 
120
-In order to display that scan gimmick, we need to create a HUD. A HUD is an overlay used to display 2D content in front of the augmented scene. It's part of the viewport. Modify `index.html` and `ar-demo.js` as follows:
120
+In order to display that scan gimmick, we need to create a HUD (<em>Heads-Up Display</em>). A HUD is an overlay used to display 2D content in front of the augmented scene. It's part of the viewport. Modify `index.html` and `ar-demo.js` as follows:
121 121
 
122 122
 ```html title="index.html" hl_lines="10-13 16-20"
123 123
 <!doctype html>

+ 1
- 1
docs/getting-started/create-the-augmented-scene.md Dosyayı Görüntüle

@@ -64,7 +64,7 @@ A-Frame is built on top of [Three.js](#threejs) and extends it in powerful ways.
64 64
 
65 65
 A-Frame is easy for beginners and pleasing for experts. A simple scene is declared like this:
66 66
 
67
-```html title="index.html" hl_lines="7 10 18-31"
67
+```html title="index.html" hl_lines="7 10 21-34"
68 68
 <!doctype html>
69 69
 <html>
70 70
     <head>

+ 1
- 1
docs/getting-started/set-up-the-tracker.md Dosyayı Görüntüle

@@ -82,7 +82,7 @@ This is the expected directory structure at this point:
82 82
 
83 83
 Let's include the test video in our page. Add a `<video>` tag as follows:
84 84
 
85
-```html title="index.html" hl_lines="12"
85
+```html title="index.html" hl_lines="12-15"
86 86
 <!doctype html>
87 87
 <html>
88 88
     <head>

Loading…
İptal
Kaydet