Pārlūkot izejas kodu

Fixed highlighted lines. Made a few other changes.

customisations
alemart 1 gadu atpakaļ
vecāks
revīzija
e9165b86ce

+ 1
- 1
docs/api/speedy-promise.md Parādīt failu

1
 # SpeedyPromise
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
 ## Instantiation
5
 ## Instantiation
6
 
6
 

+ 3
- 3
docs/getting-started/activate-your-webcam.md Parādīt failu

45
 
45
 
46
 Let's also comment (or remove) the `<video>` tag from the HTML file - we no longer need it:
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
 <!doctype html>
49
 <!doctype html>
50
 <html>
50
 <html>
51
     <head>
51
     <head>
92
 
92
 
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.
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
     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.
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
 <figcaption>Scan gimmick</figcaption>
117
 <figcaption>Scan gimmick</figcaption>
118
 </figure>
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
 ```html title="index.html" hl_lines="10-13 16-20"
122
 ```html title="index.html" hl_lines="10-13 16-20"
123
 <!doctype html>
123
 <!doctype html>

+ 1
- 1
docs/getting-started/create-the-augmented-scene.md Parādīt failu

64
 
64
 
65
 A-Frame is easy for beginners and pleasing for experts. A simple scene is declared like this:
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
 <!doctype html>
68
 <!doctype html>
69
 <html>
69
 <html>
70
     <head>
70
     <head>

+ 1
- 1
docs/getting-started/set-up-the-tracker.md Parādīt failu

82
 
82
 
83
 Let's include the test video in our page. Add a `<video>` tag as follows:
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
 <!doctype html>
86
 <!doctype html>
87
 <html>
87
 <html>
88
     <head>
88
     <head>

Notiek ielāde…
Atcelt
Saglabāt